From 05dd5c818e33c9934fd9580c4d2450a7b84c528f Mon Sep 17 00:00:00 2001 From: Patrick Desaulniers Date: Mon, 26 Feb 2018 18:24:52 -0500 Subject: [PATCH] Use good flag for kVstParameterCanRamp --- distrho/src/DistrhoPluginVST.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distrho/src/DistrhoPluginVST.cpp b/distrho/src/DistrhoPluginVST.cpp index df16ddfa..dddb82aa 100644 --- a/distrho/src/DistrhoPluginVST.cpp +++ b/distrho/src/DistrhoPluginVST.cpp @@ -1107,7 +1107,7 @@ static intptr_t vst_dispatcherCallback(AEffect* effect, int32_t opcode, int32_t properties->flags = kVstParameterIsSwitch; } - if(hints & kVstParameterCanRamp) + if(hints & kParameterIsLogarithmic) { properties->flags |= kVstParameterCanRamp; }