summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-06-06 11:14:31 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-06-06 11:14:31 -0400
commitaddb33bc630721e623f90b6f3e920eedcdc40742 (patch)
tree6e222b7d2ed7b9268ed1cf2c8f4889f96dcf9a20 /libs/pbd
parent8bfaa2d3d9e7712a238651c487c761e70b20f6ab (diff)
implement OSC /ardour/route/send/gainabs and /ardour/route/send/gainDB
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/controllable_descriptor.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/pbd/controllable_descriptor.cc b/libs/pbd/controllable_descriptor.cc
index 392b917ec8..9c930e4dbd 100644
--- a/libs/pbd/controllable_descriptor.cc
+++ b/libs/pbd/controllable_descriptor.cc
@@ -104,10 +104,11 @@ ControllableDescriptor::set (const std::string& str)
}
} else if (path[1] == "send") {
- if (path.size() == 3 && rest.size() == 2) {
+ if (path.size() == 3 && rest.size() == 3) {
if (path[2] == "gain") {
_subtype = SendGain;
_target.push_back (atoi (rest[1]));
+ _target.push_back (atoi (rest[2]));
} else {
return -1;
}