13
0

OSC: fix crash when trying to set output params

This commit is contained in:
Robin Gareus 2015-03-20 21:19:25 +01:00
parent 17e1e2641b
commit 7619edd1f6

View File

@ -1005,6 +1005,10 @@ OSC::route_plugin_parameter (int rid, int piid, int par, float val)
return -1;
}
if (!pip->parameter_is_input(par)) {
return -1;
}
ParameterDescriptor pd;
pi->plugin()->get_parameter_descriptor (controlid,pd);