Browse Source

Reverted a mistaken change to AU hosting event handling code.

tags/2021-05-28
jules 11 years ago
parent
commit
b4bd383a46
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm

+ 6
- 1
modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm View File

@@ -943,7 +943,12 @@ private:
kAudioUnitScope_Global, 0, &info, sizeof (info));
}
AUEventListenerCreate (eventListenerCallback, this, nullptr,
AUEventListenerCreate (eventListenerCallback, this,
#if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4
CFRunLoopGetMain(),
#else
nullptr,
#endif
kCFRunLoopDefaultMode, 0, 0, &eventListenerRef);
for (int i = 0; i < parameters.size(); ++i)


Loading…
Cancel
Save