SDL/src/audio
Ryan C. Gordon 4cbd94c61c 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
..
alsa Some systems include both "default:" and "hw:" for the same usb device 2016-10-07 11:18:55 -07:00
android audio: Renamed some internal driver symbols in various targets. 2016-08-11 22:22:09 -04:00
arts audio: Don't trust audio drivers to drain pending audio. 2016-10-07 15:13:46 -04:00
bsd audio: changed some SDL_memset() calls to SDL_zero(), other minor corrections. 2016-08-05 01:59:06 -04:00
coreaudio Mac: Fixed whitespace around function return type. 2016-09-21 23:06:49 +02:00
directsound audio: Don't trust audio drivers to drain pending audio. 2016-10-07 15:13:46 -04:00
disk audio: Renamed some internal driver symbols in various targets. 2016-08-11 22:22:09 -04:00
dsp dsp: Implemented audio capture support. 2016-08-07 02:43:20 -04:00
dummy audio: Renamed some internal driver symbols in various targets. 2016-08-11 22:22:09 -04:00
emscripten emscripten: get even more aggressive about audio device closing. 2016-09-18 18:07:47 -04:00
esd audio: changed some SDL_memset() calls to SDL_zero(), other minor corrections. 2016-08-05 01:59:06 -04:00
fusionsound audio: Don't trust audio drivers to drain pending audio. 2016-10-07 15:13:46 -04:00
haiku Patched to compile on Haiku. 2016-08-28 18:24:44 -04:00
nacl nacl: Patched to compile. 2016-08-28 18:52:25 -04:00
nas nas: initial shot at audio capture support. Compiles, but not tested. 2016-08-05 04:23:32 -04:00
paudio audio: changed some SDL_memset() calls to SDL_zero(), other minor corrections. 2016-08-05 01:59:06 -04:00
psp audio: Don't trust audio drivers to drain pending audio. 2016-10-07 15:13:46 -04:00
pulseaudio audio: Don't trust audio drivers to drain pending audio. 2016-10-07 15:13:46 -04:00
qsa audio: Don't trust audio drivers to drain pending audio. 2016-10-07 15:13:46 -04:00
sndio audio: Don't trust audio drivers to drain pending audio. 2016-10-07 15:13:46 -04:00
sun audio: changed some SDL_memset() calls to SDL_zero(), other minor corrections. 2016-08-05 01:59:06 -04:00
winmm audio: Don't trust audio drivers to drain pending audio. 2016-10-07 15:13:46 -04:00
xaudio2 audio: Don't trust audio drivers to drain pending audio. 2016-10-07 15:13:46 -04:00
SDL_audio_c.h audio: implemented higher level infrastructure for running capture devices. 2016-08-02 13:50:21 -04:00
SDL_audio.c audio: Don't trust audio drivers to drain pending audio. 2016-10-07 15:13:46 -04:00
SDL_audiocvt.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_audiodev_c.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_audiodev.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_audiotypecvt.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_mixer.c Updated copyright to 2016 2016-01-02 10:10:34 -08:00
SDL_sysaudio.h audio: Don't trust audio drivers to drain pending audio. 2016-10-07 15:13:46 -04:00
SDL_wave.c audio: changed some SDL_memset() calls to SDL_zero(), other minor corrections. 2016-08-05 01:59:06 -04:00
SDL_wave.h Updated copyright to 2016 2016-01-02 10:10:34 -08:00
sdlgenaudiocvt.pl Updated copyright to 2016 2016-01-02 10:10:34 -08:00