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
@ -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…
Reference in New Issue
Block a user