From dfb7e30dc171456d328c8d94fc7df67a14f5405e Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 23 Sep 2021 19:36:17 +0100 Subject: [PATCH] Cleanup Signed-off-by: falkTX --- distrho/src/DistrhoPluginVST3.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/distrho/src/DistrhoPluginVST3.cpp b/distrho/src/DistrhoPluginVST3.cpp index 17a3aad4..2a28a5e1 100644 --- a/distrho/src/DistrhoPluginVST3.cpp +++ b/distrho/src/DistrhoPluginVST3.cpp @@ -733,7 +733,7 @@ protected: // hostCallback(started ? audioMasterBeginEdit : audioMasterEndEdit, index); } - void setParameterValue(const uint32_t index, const float realValue) + void setParameterValue(const uint32_t /*index*/, const float /*realValue*/) { // const ParameterRanges& ranges(fPlugin->getParameterRanges(index)); // const float perValue(ranges.getNormalizedValue(realValue)); @@ -755,6 +755,7 @@ protected: v3_view_rect rect = {}; rect.right = width; rect.bottom = height; + (void)rect; // frame->resize_view(nullptr, uivst3, &rect); } @@ -920,9 +921,6 @@ struct dpf_plugin_view : v3_plugin_view_cpp { DISTRHO_SAFE_ASSERT_RETURN(view != nullptr, V3_NOT_INITIALISED); DISTRHO_SAFE_ASSERT_RETURN(view->uivst3 == nullptr, V3_INVALID_ARG); view->uivst3 = new UIVst3(view->vst3, view->hostframe, (uintptr_t)parent, view->lastScaleFactor); - - // TODO send parameter values - view->uivst3->idle(); return V3_OK; };