mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Fix setting automation state for Aux-sends
When switching the Mixer to show sends, using _amp as
intermediate for automation is not correct.
The control is not owned by the amp.
The same is true for VCAs, prefer the control (see 8400ebd175)
This commit is contained in:
parent
5b113c9c5b
commit
64ddc5dd32
1 changed files with 1 additions and 3 deletions
|
|
@ -305,9 +305,7 @@ GainMeterBase::set_gain_astate (AutoState as)
|
|||
ChangeGainAutomationState (as);
|
||||
return;
|
||||
}
|
||||
if (_amp) {
|
||||
_amp->set_parameter_automation_state (Evoral::Parameter (GainAutomation), as);
|
||||
} else if (_control) {
|
||||
if (_control) {
|
||||
_control->set_automation_state (as);
|
||||
_session->set_dirty ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue