From 6258d69589dc2e8a03f8692c184c20c2af2e7573 Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 4 May 2023 18:19:47 +0200 Subject: [PATCH] Do not use `getDefaultValue` for JUCE plugins Signed-off-by: falkTX --- source/backend/plugin/CarlaPluginJuce.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/backend/plugin/CarlaPluginJuce.cpp b/source/backend/plugin/CarlaPluginJuce.cpp index de372d0ff..a0f255263 100644 --- a/source/backend/plugin/CarlaPluginJuce.cpp +++ b/source/backend/plugin/CarlaPluginJuce.cpp @@ -834,7 +834,9 @@ public: } } - def = parameter->getDefaultValue(); + // this gives wrong values! + // def = parameter->getDefaultValue(); + def = parameter->getValue(); if (def < min) def = min;