Mixer: Set a default upper bound on module parameters of 1 in case the module (LADSPA Plugins in particular) doesn't specify one.
This commit is contained in:
parent
ea380f00f9
commit
00a78fdb27
|
@ -108,7 +108,9 @@ public:
|
||||||
type = LINEAR;
|
type = LINEAR;
|
||||||
ranged = false;
|
ranged = false;
|
||||||
minimum = 0;
|
minimum = 0;
|
||||||
maximum = 0;
|
maximum = 1; /* FIXME: totally bogus, but some
|
||||||
|
* plugins (SWH delays) don't
|
||||||
|
* provide an upper bound. */
|
||||||
default_value = 0.0f;
|
default_value = 0.0f;
|
||||||
dimensions = 1;
|
dimensions = 1;
|
||||||
visible = true;
|
visible = true;
|
||||||
|
|
Loading…
Reference in New Issue