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:
parent
648edb8b0f
commit
11a4c2804e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user