Expose “/route/trim” midi binding.
This commit is contained in:
parent
acdb08eb1d
commit
27dac7c31f
@ -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…
Reference in New Issue
Block a user