Browse Source

Do not use `getDefaultValue` for JUCE plugins

Signed-off-by: falkTX <falktx@falktx.com>
pull/1775/head
falkTX 1 year ago
parent
commit
6258d69589
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      source/backend/plugin/CarlaPluginJuce.cpp

+ 3
- 1
source/backend/plugin/CarlaPluginJuce.cpp View File

@@ -834,7 +834,9 @@ public:
} }
} }


def = parameter->getDefaultValue();
// this gives wrong values!
// def = parameter->getDefaultValue();
def = parameter->getValue();


if (def < min) if (def < min)
def = min; def = min;


Loading…
Cancel
Save