mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
Expose “/route/trim” midi binding.
This commit is contained in:
parent
acdb08eb1d
commit
27dac7c31f
3 changed files with 8 additions and 0 deletions
|
|
@ -3077,6 +3077,10 @@ Session::controllable_by_descriptor (const ControllableDescriptor& desc)
|
|||
c = r->gain_control ();
|
||||
break;
|
||||
|
||||
case ControllableDescriptor::Trim:
|
||||
c = r->trim()->gain_control ();
|
||||
break;
|
||||
|
||||
case ControllableDescriptor::Solo:
|
||||
c = r->solo_control();
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -72,6 +72,9 @@ ControllableDescriptor::set (const std::string& str)
|
|||
if (path[1] == "gain") {
|
||||
_subtype = Gain;
|
||||
|
||||
} else if (path[1] == "trim") {
|
||||
_subtype = Trim;
|
||||
|
||||
} else if (path[1] == "solo") {
|
||||
_subtype = Solo;
|
||||
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ public:
|
|||
|
||||
enum SubType {
|
||||
Gain,
|
||||
Trim,
|
||||
Solo,
|
||||
Mute,
|
||||
Recenable,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue