mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue