SDL/src/audio/arts
Ryan C. Gordon f6a280ab7f audio: Don't trust audio drivers to drain pending audio.
This tends to be a frequent spot where drivers hang, and the waits were
often unreliable in any case.

Instead, our audio thread now alerts the driver that we're done streaming audio
(which currently XAudio2 uses to alert the system not to warn about the
impending underflow) and then SDL_Delay()'s for a duration that's reasonable
to drain the DMA buffers before closing the device.
2016-10-07 15:13:46 -04:00
..
SDL_artsaudio.c audio: Don't trust audio drivers to drain pending audio. 2016-10-07 15:13:46 -04:00
SDL_artsaudio.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00