From f581fa92b48ce06cf274c6d0b51f0feb0e54ad26 Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 8 Jan 2014 16:35:38 +0000 Subject: [PATCH] Change to AU hosting event runloop threading. --- .../format_types/juce_AudioUnitPluginFormat.mm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm b/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm index 375b2e7957..a4c5aa8ab9 100644 --- a/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm +++ b/modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm @@ -943,12 +943,7 @@ private: kAudioUnitScope_Global, 0, &info, sizeof (info)); } - AUEventListenerCreate (eventListenerCallback, this, - #if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4 - CFRunLoopGetMain(), - #else - nullptr, - #endif + AUEventListenerCreate (eventListenerCallback, this, nullptr, kCFRunLoopDefaultMode, 0, 0, &eventListenerRef); for (int i = 0; i < parameters.size(); ++i)