Browse Source

CoreAudioDevice: Fixed potential race condition

tags/2021-05-28
tpoole 8 years ago
parent
commit
bfd59e5f87
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_audio_devices/native/juce_mac_CoreAudio.cpp

+ 1
- 1
modules/juce_audio_devices/native/juce_mac_CoreAudio.cpp View File

@@ -2037,7 +2037,7 @@ private:
static OSStatus hardwareListenerProc (AudioDeviceID, UInt32, const AudioObjectPropertyAddress*, void* clientData)
{
static_cast<CoreAudioIODeviceType*> (clientData)->audioDeviceListChanged();
static_cast<CoreAudioIODeviceType*> (clientData)->triggerAsyncAudioDeviceListChange();
return noErr;
}


Loading…
Cancel
Save