From 641d6fc8c2c7583614961515728f15c611b4cacf Mon Sep 17 00:00:00 2001 From: jules Date: Tue, 26 Jun 2007 15:21:49 +0000 Subject: [PATCH] added extra initialisation --- .../audio plugins/wrapper/formats/VST/juce_VstWrapper.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/extras/audio plugins/wrapper/formats/VST/juce_VstWrapper.cpp b/extras/audio plugins/wrapper/formats/VST/juce_VstWrapper.cpp index 8c81638a1a..6391d7d8b3 100644 --- a/extras/audio plugins/wrapper/formats/VST/juce_VstWrapper.cpp +++ b/extras/audio plugins/wrapper/formats/VST/juce_VstWrapper.cpp @@ -470,6 +470,7 @@ public: VstInt32 result = 0; if (strcmp (text, "receiveVstEvents") == 0 + || strcmp (text, "receiveVstMidiEvent") == 0 || strcmp (text, "receiveVstMidiEvents") == 0) { #if JucePlugin_WantsMidiInput @@ -479,7 +480,8 @@ public: #endif } else if (strcmp (text, "sendVstEvents") == 0 - || strcmp (text, "sendVstMidiEvent") == 0) + || strcmp (text, "sendVstMidiEvent") == 0 + || strcmp (text, "sendVstMidiEvents") == 0) { #if JucePlugin_ProducesMidiOutput result = 1; @@ -1211,6 +1213,10 @@ void EditorCompWrapper::handleAsyncUpdate() //============================================================================== static AEffect* pluginEntryPoint (audioMasterCallback audioMaster) { +#if JUCE_MAC || JUCE_LINUX + initialiseJuce_GUI(); +#endif + MessageManager::getInstance()->setTimeBeforeShowingWaitCursor (0); try