Browse Source

Misc

tags/1.9.4
falkTX 10 years ago
parent
commit
8e50dd7551
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      source/backend/plugin/VstPlugin.cpp

+ 3
- 3
source/backend/plugin/VstPlugin.cpp View File

@@ -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


Loading…
Cancel
Save