projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tweak previous commit to make desc.max_unbound "more correct"
[ardour.git]
/
libs
/
ardour
/
ladspa_plugin.cc
diff --git
a/libs/ardour/ladspa_plugin.cc
b/libs/ardour/ladspa_plugin.cc
index d8b69c2716f2e9570d0f4a00721c31ce4ae93d19..b5106cb4ca9b4b0b21915c6081fe1df796bc202d 100644
(file)
--- a/
libs/ardour/ladspa_plugin.cc
+++ b/
libs/ardour/ladspa_plugin.cc
@@
-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 */
}
}