SDL/src/audio
Ryan C. Gordon e7ab581d79
coreaudio: Dispose of AudioQueue before waiting on the thread.
Otherwise the thread might block for a long time (more than 10 seconds!).
It's not clear to me why this happens, or why its safe to do this with a
resource that's still in use, but we have, until recently, always
disposed of the AudioQueue first, so changing back is probably okay.

Also changed the disposal to allow in-flight buffers to reach hardware;
otherwise you lose the last little bit of audio that's already been queued
but not played, which you can hear clearly in the loopwave test program.

Fixes #6377.
2022-10-19 09:14:16 -04:00
..
aaudio audio/aaudio, audio/openslES: fix -Wdeclaration-after-statement errors 2022-07-23 14:56:04 +03:00
alsa audio: Handle non-power-of-two spec.samples when unsupported 2022-07-17 10:36:15 -04:00
android
arts
coreaudio coreaudio: Dispose of AudioQueue before waiting on the thread. 2022-10-19 09:14:16 -04:00
directsound audio: Handle non-power-of-two spec.samples when unsupported 2022-07-17 10:36:15 -04:00
disk audio: Handle non-power-of-two spec.samples when unsupported 2022-07-17 10:36:15 -04:00
dsp Simplify OSS test by removing OpenBSD specific location of the soundcard.h header 2022-10-17 07:18:47 -07:00
dummy
emscripten audio: Fix locking in backends that manage their own callback threads. 2022-05-20 21:08:29 -04:00
esd
fusionsound
haiku audio: Fix locking in backends that manage their own callback threads. 2022-05-20 21:08:29 -04:00
jack
n3ds N3DS port (squashed) 2022-10-10 08:50:59 -07:00
nacl audio: Fix locking in backends that manage their own callback threads. 2022-05-20 21:08:29 -04:00
nas
netbsd Add clang-format on/off comments where necessary. 2022-05-19 01:31:29 -07:00
openslES audio/aaudio, audio/openslES: fix -Wdeclaration-after-statement errors 2022-07-23 14:56:04 +03:00
os2
paudio
pipewire audio, pipewire: fix signatures of pw_get_library_version and pw_init. 2022-07-20 07:01:10 +03:00
ps2 Add more valid configurations to PS2 audio driver 2022-08-27 18:34:33 -07:00
psp
pulseaudio audio: Handle non-power-of-two spec.samples when unsupported 2022-07-17 10:36:15 -04:00
qsa Update SDL_qsa_audio.c 2022-07-08 12:15:00 +03:00
sndio
sun
vita
wasapi Fix use after free when removing Windows audio device 2022-08-02 10:24:11 -04:00
winmm
SDL_audio.c SDL_audiocvt: Respct the SDL_HINT_AUDIO_RESAMPLING_MODE hint 2022-10-15 14:31:00 -07:00
SDL_audio_c.h SDL_audiocvt: Respct the SDL_HINT_AUDIO_RESAMPLING_MODE hint 2022-10-15 14:31:00 -07:00
SDL_audio_channel_converters.h audio: Fixed dst pointer on channel conversions that grow in-place. 2022-07-20 18:41:53 -04:00
SDL_audio_resampler_filter.h
SDL_audiocvt.c SDL_audiocvt: Respct the SDL_HINT_AUDIO_RESAMPLING_MODE hint 2022-10-15 14:31:00 -07:00
SDL_audiodev.c
SDL_audiodev_c.h
SDL_audiotypecvt.c
SDL_mixer.c
SDL_sysaudio.h N3DS port (squashed) 2022-10-10 08:50:59 -07:00
SDL_wave.c
SDL_wave.h