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;
|
||||
}
|
||||
} else {
|
||||
desc.max_unbound = true;
|
||||
if (LADSPA_IS_HINT_TOGGLED (prh.HintDescriptor)) {
|
||||
desc.max_unbound = false;
|
||||
desc.upper = 1;
|
||||
} else {
|
||||
desc.max_unbound = true;
|
||||
desc.upper = 4; /* completely arbitrary */
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user