1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-14 00:14:18 +00:00

Reverted a mistaken change to AU hosting event handling code.

This commit is contained in:
jules 2014-01-09 13:57:25 +00:00
parent cc633ce3f5
commit b4bd383a46

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)