Make BusSendLevel 1st class citizen (2/2)

This commit is contained in:
Robin Gareus 2019-12-14 15:04:32 +01:00
parent d4e023e1cb
commit d4ad9e3486
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
3 changed files with 7 additions and 0 deletions

View File

@ -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);

View File

@ -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 */

View File

@ -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;