BackgroundMusic/SharedSource
Kyle Neideck 5a657a01a6
Fix dropped frames when starting IO.
It turns out that the HAL will sometimes call BGM_Driver::StartIO before
sending kAudioDevicePropertyDeviceIsRunning to BGMPlayThrough. In that
case, BGMApp would start playthrough and tell BGMDriver to return from
StartIO immediately, which meant we would drop the initial frames while
the output device started up.

So now BGMApp waits for the output device in that case as well.

Fixes #7.
2017-06-22 19:36:17 +10:00
..
BGM_TestUtils.h Add an XPC helper. Sync BGMApp and BGMDriver with it while starting IO. 2016-03-31 11:42:24 +11:00
BGM_Types.h Fix dropped frames when starting IO. 2017-06-22 19:36:17 +10:00
BGM_Utils.cpp Don't throw in BGMPlayThrough::DestroyIOProcIDs if the device has been removed. 2017-01-27 00:33:34 +11:00
BGM_Utils.h Use data source names instead of device names in the output device menu. 2016-12-23 01:46:27 +11:00
BGMXPCProtocols.h Fix dropped frames when starting IO. 2017-06-22 19:36:17 +10:00