mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
add partial support for mute automation (playback does not work, data is not recorded in the session)
This commit is contained in:
parent
1a90d28aed
commit
c0118c76a7
9 changed files with 80 additions and 3 deletions
|
|
@ -179,6 +179,11 @@ MidiTimeAxisView::set_route (boost::shared_ptr<Route> rt)
|
|||
create_automation_child (GainAutomation, false);
|
||||
}
|
||||
|
||||
/* if set_state above didn't create a mute automation child, we need to make one */
|
||||
if (automation_child (MuteAutomation) == 0) {
|
||||
create_automation_child (MuteAutomation, false);
|
||||
}
|
||||
|
||||
if (_route->panner_shell()) {
|
||||
_route->panner_shell()->Changed.connect (*this, invalidator (*this), boost::bind (&MidiTimeAxisView::ensure_pan_views, this, false), gui_context());
|
||||
}
|
||||
|
|
@ -1281,6 +1286,10 @@ MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool
|
|||
create_gain_automation_child (param, show);
|
||||
break;
|
||||
|
||||
case MuteAutomation:
|
||||
create_mute_automation_child (param, show);
|
||||
break;
|
||||
|
||||
case PluginAutomation:
|
||||
/* handled elsewhere */
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue