tweak previous commit to make desc.max_unbound "more correct"
This commit is contained in:
parent
ad97a069d9
commit
8e9851e527
@ -497,10 +497,11 @@ LadspaPlugin::get_parameter_descriptor (uint32_t which, ParameterDescriptor& des
|
|||||||
desc.upper = prh.UpperBound;
|
desc.upper = prh.UpperBound;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
desc.max_unbound = true;
|
|
||||||
if (LADSPA_IS_HINT_TOGGLED (prh.HintDescriptor)) {
|
if (LADSPA_IS_HINT_TOGGLED (prh.HintDescriptor)) {
|
||||||
|
desc.max_unbound = false;
|
||||||
desc.upper = 1;
|
desc.upper = 1;
|
||||||
} else {
|
} else {
|
||||||
|
desc.max_unbound = true;
|
||||||
desc.upper = 4; /* completely arbitrary */
|
desc.upper = 4; /* completely arbitrary */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user