13
0

Add dedicated InsertReturnLevel type (2/2)

This commit is contained in:
Robin Gareus 2022-10-11 02:39:14 +02:00
parent 2939ed3164
commit afd23d42cd
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -210,6 +210,7 @@ AutomationLine::get_uses_gain_mapping () const
case BusSendLevel: case BusSendLevel:
case EnvelopeAutomation: case EnvelopeAutomation:
case TrimAutomation: case TrimAutomation:
case InsertReturnLevel:
return true; return true;
default: default:
return false; return false;
@ -400,6 +401,7 @@ AutomationLine::string_to_fraction (string const & s) const
case BusSendLevel: case BusSendLevel:
case EnvelopeAutomation: case EnvelopeAutomation:
case TrimAutomation: case TrimAutomation:
case InsertReturnLevel:
if (s == "-inf") { /* translation */ if (s == "-inf") { /* translation */
v = 0; v = 0;
} else { } else {