mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-27 02:20:05 +00:00
CoreAudioDevice: Fixed potential race condition
This commit is contained in:
parent
693fde9f21
commit
bfd59e5f87
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue