projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
645e9ca
)
fix up parsing of send gain MIDI bindings so that they actually work
author
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 10 Oct 2013 20:16:59 +0000
(16:16 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 10 Oct 2013 20:16:59 +0000
(16:16 -0400)
libs/pbd/controllable_descriptor.cc
patch
|
blob
|
history
diff --git
a/libs/pbd/controllable_descriptor.cc
b/libs/pbd/controllable_descriptor.cc
index 9c930e4dbd89dcc9a00cd62babfeb5fb2f9b2972..392b917ec888d514e4e9cfb85bd19851437702ac 100644
(file)
--- a/
libs/pbd/controllable_descriptor.cc
+++ b/
libs/pbd/controllable_descriptor.cc
@@
-104,11
+104,10
@@
ControllableDescriptor::set (const std::string& str)
}
} else if (path[1] == "send") {
- if (path.size() == 3 && rest.size() ==
3
) {
+ if (path.size() == 3 && rest.size() ==
2
) {
if (path[2] == "gain") {
_subtype = SendGain;
_target.push_back (atoi (rest[1]));
- _target.push_back (atoi (rest[2]));
} else {
return -1;
}