projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c89ec5
)
fix OSC parameter mapping, fixes #6224
author
Robin Gareus
<robin@gareus.org>
Sat, 4 Apr 2015 01:16:53 +0000
(
03:16
+0200)
committer
Robin Gareus
<robin@gareus.org>
Sat, 4 Apr 2015 01:16:53 +0000
(
03:16
+0200)
(ignore non control ports in numbering)
libs/surfaces/osc/osc.cc
patch
|
blob
|
history
diff --git
a/libs/surfaces/osc/osc.cc
b/libs/surfaces/osc/osc.cc
index 61d79698195092709306b901f3cc794d00e4de44..5def3149b517d629143b730c7ad1a795626cb1e0 100644
(file)
--- a/
libs/surfaces/osc/osc.cc
+++ b/
libs/surfaces/osc/osc.cc
@@
-1008,7
+1008,7
@@
OSC::route_plugin_parameter (int rid, int piid, int par, float val)
return -1;
}
- if (!pip->parameter_is_input(
par
)) {
+ if (!pip->parameter_is_input(
controlid
)) {
PBD::error << "OSC: Parameter # " << par << " for plugin # " << piid << " on RID '" << rid << "' is not a control input" << endmsg;
return -1;
}