From 8e50dd755158eb182f93561b9eb7a4bb2bfc238a Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 21 Jun 2014 15:49:01 +0100 Subject: [PATCH] Misc --- source/backend/plugin/VstPlugin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/backend/plugin/VstPlugin.cpp b/source/backend/plugin/VstPlugin.cpp index 8a1172450..7c7298696 100644 --- a/source/backend/plugin/VstPlugin.cpp +++ b/source/backend/plugin/VstPlugin.cpp @@ -356,15 +356,15 @@ public: dispatcher(effSetChunk, 0 /* bank */, chunk.size(), fLastChunk, 0.0f); } + // simulate an updateDisplay callback + handleAudioMasterCallback(audioMasterUpdateDisplay, 0, 0, nullptr, 0.0f); + #ifdef BUILD_BRIDGE const bool sendOsc(false); #else const bool sendOsc(pData->engine->isOscControlRegistered()); #endif pData->updateParameterValues(this, sendOsc, true, false); - - // simulate an updateDisplay callback - handleAudioMasterCallback(audioMasterUpdateDisplay, 0, 0, nullptr, 0.0f); } void setProgram(const int32_t index, const bool sendGui, const bool sendOsc, const bool sendCallback) noexcept override