13
0

fix OSC parameter mapping, fixes #6224

(ignore non control ports in numbering)
This commit is contained in:
Robin Gareus 2015-04-04 03:16:53 +02:00
parent 2c89ec5c0b
commit 7c146a9e22

View File

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