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 drop handle parameter of OpenDevice 2022-01-28 20:40:19 -05:00
arts drop handle parameter of OpenDevice 2022-01-28 20:40:19 -05:00
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 drop handle parameter of OpenDevice 2022-01-28 20:40:19 -05:00
emscripten audio: Fix locking in backends that manage their own callback threads. 2022-05-20 21:08:29 -04:00
esd drop handle parameter of OpenDevice 2022-01-28 20:40:19 -05:00
fusionsound drop handle parameter of OpenDevice 2022-01-28 20:40:19 -05:00
haiku audio: Fix locking in backends that manage their own callback threads. 2022-05-20 21:08:29 -04:00
jack drop handle parameter of OpenDevice 2022-01-28 20:40:19 -05:00
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 drop handle parameter of OpenDevice 2022-01-28 20:40:19 -05:00
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 drop handle parameter of OpenDevice 2022-01-28 20:40:19 -05:00
paudio drop handle parameter of OpenDevice 2022-01-28 20:40:19 -05:00
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 drop handle parameter of OpenDevice 2022-01-28 20:40:19 -05:00
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 drop handle parameter of OpenDevice 2022-01-28 20:40:19 -05:00
sun drop handle parameter of OpenDevice 2022-01-28 20:40:19 -05:00
vita Vita: add audio capture support 2022-03-29 14:12:37 -07:00
wasapi Fix use after free when removing Windows audio device 2022-08-02 10:24:11 -04:00
winmm drop handle parameter of OpenDevice 2022-01-28 20:40:19 -05:00
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 audio: Make pregenerated resampler kaiser filter more precise. 2022-04-26 13:32:42 -04:00
SDL_audiocvt.c SDL_audiocvt: Respct the SDL_HINT_AUDIO_RESAMPLING_MODE hint 2022-10-15 14:31:00 -07:00
SDL_audiodev.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_audiodev_c.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_audiotypecvt.c Updated copyright for 2022 2022-01-03 09:40:21 -08:00
SDL_mixer.c revert 'Changed to use 0xFE instead of 0xFF for better sound quality.' 2022-01-28 20:40:19 -05:00
SDL_sysaudio.h N3DS port (squashed) 2022-10-10 08:50:59 -07:00
SDL_wave.c static analysis: Fixed several complaints from codechecker. 2022-03-24 11:00:43 -04:00
SDL_wave.h Updated copyright for 2022 2022-01-03 09:40:21 -08:00