Expose “/route/trim” midi binding.

This commit is contained in:
Robin Gareus 2015-04-26 19:07:45 +02:00
parent acdb08eb1d
commit 27dac7c31f
3 changed files with 8 additions and 0 deletions

View File

@ -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;

View File

@ -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;

View File

@ -36,6 +36,7 @@ public:
enum SubType {
Gain,
Trim,
Solo,
Mute,
Recenable,