mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
upper parameter limit is inclusive.
This commit is contained in:
parent
4d74b5e420
commit
3060b7bbc4
1 changed files with 1 additions and 1 deletions
|
|
@ -1284,7 +1284,7 @@ OSC::route_plugin_parameter (int rid, int piid, int par, float val)
|
|||
ParameterDescriptor pd;
|
||||
pi->plugin()->get_parameter_descriptor (controlid,pd);
|
||||
|
||||
if (val >= pd.lower && val < pd.upper) {
|
||||
if (val >= pd.lower && val <= pd.upper) {
|
||||
|
||||
boost::shared_ptr<AutomationControl> c = pi->automation_control (Evoral::Parameter(PluginAutomation, 0, controlid));
|
||||
// cerr << "parameter:" << redi->describe_parameter(controlid) << " val:" << val << "\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue