mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Add dedicated InsertReturnLevel type (2/2)
This commit is contained in:
parent
2939ed3164
commit
afd23d42cd
1 changed files with 2 additions and 0 deletions
|
|
@ -210,6 +210,7 @@ AutomationLine::get_uses_gain_mapping () const
|
|||
case BusSendLevel:
|
||||
case EnvelopeAutomation:
|
||||
case TrimAutomation:
|
||||
case InsertReturnLevel:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
|
|
@ -400,6 +401,7 @@ AutomationLine::string_to_fraction (string const & s) const
|
|||
case BusSendLevel:
|
||||
case EnvelopeAutomation:
|
||||
case TrimAutomation:
|
||||
case InsertReturnLevel:
|
||||
if (s == "-inf") { /* translation */
|
||||
v = 0;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue