Skip to content
Commit 0c89469a authored by ed's avatar ed
Browse files

CoreAudio: Call AudioDeviceStop() on IO thread when stopping audio devices

When AudioDeviceStop() is called from a thread other than the IO thread there are no guarantees about the IOProc being called before the thread actually terminates. Moving this call to the audioCallback() method ensures that the device will be stopped immediately and we can remove a check that was taking a few seconds to close devices.
parent e1f855ae
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment