13
0

make sure that AudioRegion::set_live_state() notifies interested parties when normalization gain changes

git-svn-id: svn://localhost/ardour2/trunk@2455 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2007-09-11 11:26:39 +00:00
parent 648edb8b0f
commit 11a4c2804e

View File

@ -601,6 +601,7 @@ AudioRegion::set_live_state (const XMLNode& node, Change& what_changed, bool sen
if ((prop = node.property ("scale-gain")) != 0) {
_scale_amplitude = atof (prop->value().c_str());
what_changed = Change (what_changed|ScaleAmplitudeChanged);
} else {
_scale_amplitude = 1.0;
}