diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libs/engine/LADSPANode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/engine/LADSPANode.cpp b/src/libs/engine/LADSPANode.cpp index 7a1faac0..ae35cd43 100644 --- a/src/libs/engine/LADSPANode.cpp +++ b/src/libs/engine/LADSPANode.cpp @@ -190,13 +190,13 @@ LADSPANode::instantiate() assert(_ports->at(j) == port); // Work around broke-ass crackhead plugins - if (default_val && default_val.get() < min) { + if (default_val && default_val.get() < min.get()) { cerr << "WARNING: Broken LADSPA " << _descriptor->UniqueID << ": Port default < minimum. Minimum adjusted." << endl; min = default_val; } - if (default_val && default_val.get() > max) { + if (default_val && default_val.get() > max.get()) { cerr << "WARNING: Broken LADSPA " << _descriptor->UniqueID << ": Maximum adjusted." << endl; max = default_val; |