mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 06:06:25 +01:00
OSC: fix crash when trying to set output params
This commit is contained in:
parent
17e1e2641b
commit
7619edd1f6
1 changed files with 4 additions and 0 deletions
|
|
@ -1005,6 +1005,10 @@ OSC::route_plugin_parameter (int rid, int piid, int par, float val)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!pip->parameter_is_input(par)) {
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
ParameterDescriptor pd;
|
ParameterDescriptor pd;
|
||||||
pi->plugin()->get_parameter_descriptor (controlid,pd);
|
pi->plugin()->get_parameter_descriptor (controlid,pd);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue