From 7c146a9e22010179c5eb8b5064d71524bf840c3a Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 4 Apr 2015 03:16:53 +0200 Subject: [PATCH] fix OSC parameter mapping, fixes #6224 (ignore non control ports in numbering) --- libs/surfaces/osc/osc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/surfaces/osc/osc.cc b/libs/surfaces/osc/osc.cc index 61d7969819..5def3149b5 100644 --- 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; }