mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +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 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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue