diff options
author | Robin Gareus <robin@gareus.org> | 2019-12-14 15:04:32 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-12-14 15:06:34 +0100 |
commit | d4ad9e348698de3fe2e7b34fef60a6e6d788ea6d (patch) | |
tree | d9806c8ffffaee83666e84a9b470f02a204e802a | |
parent | d4e023e1cbd783c2a46f8b4b231798c05f6b6708 (diff) |
Make BusSendLevel 1st class citizen (2/2)
-rw-r--r-- | gtk2_ardour/audio_time_axis.cc | 4 | ||||
-rw-r--r-- | gtk2_ardour/automation_line.cc | 2 | ||||
-rw-r--r-- | gtk2_ardour/midi_time_axis.cc | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/audio_time_axis.cc b/gtk2_ardour/audio_time_axis.cc index a4b32eb154..61c7b25cfc 100644 --- a/gtk2_ardour/audio_time_axis.cc +++ b/gtk2_ardour/audio_time_axis.cc @@ -211,6 +211,10 @@ AudioTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool create_gain_automation_child (param, show); + } else if (param.type() == BusSendLevel) { + + create_trim_automation_child (param, show); + } else if (param.type() == TrimAutomation) { create_trim_automation_child (param, show); diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc index 748828f35a..34d59ef581 100644 --- a/gtk2_ardour/automation_line.cc +++ b/gtk2_ardour/automation_line.cc @@ -201,6 +201,7 @@ AutomationLine::get_uses_gain_mapping () const { switch (_desc.type) { case GainAutomation: + case BusSendLevel: case EnvelopeAutomation: case TrimAutomation: return true; @@ -389,6 +390,7 @@ AutomationLine::string_to_fraction (string const & s) const switch (_desc.type) { case GainAutomation: + case BusSendLevel: case EnvelopeAutomation: case TrimAutomation: if (s == "-inf") { /* translation */ diff --git a/gtk2_ardour/midi_time_axis.cc b/gtk2_ardour/midi_time_axis.cc index 47cbcfac2a..2b6827a5c4 100644 --- a/gtk2_ardour/midi_time_axis.cc +++ b/gtk2_ardour/midi_time_axis.cc @@ -1288,6 +1288,7 @@ MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool switch (param.type()) { case GainAutomation: + case BusSendLevel: create_gain_automation_child (param, show); break; |