SDL/src/audio
Ryan C. Gordon dc34abc03e
pipewire: Add SDL_HINT_AUDIO_DEVICE_STREAM_NAME callback earlier.
Otherwise, it might cause a deadlock, if the output_callback runs in another
thread while the guaranteed initial hint callback fires. One will wait for the
SDL device lock, the other the pipewire thread loop lock, each already holding
what the other needs.

This way, the hint callback fires and we ignore it, since the stream isn't
set up yet...which is good, because we're about to create the stream and set
that exact same state on it directly anyhow. Now there's no chance of this
deadlock happening.

Reference Issue #15075.
2026-06-02 19:04:28 -04:00
..
aaudio aaudio: Respect SDL_HINT_AUDIO_DEVICE_STREAM_ROLE hint. 2026-04-01 22:17:23 -04:00
alsa Fix typos in comments. 2026-01-30 07:25:02 -08:00
coreaudio Added SDL_HINT_AUDIO_DUCK_OTHERS 2026-05-17 08:47:36 -07:00
directsound Use DSBFREQUENCY_MAX instead of hardcoded constant for DirectSound driver max frequency. 2026-03-25 20:39:19 -04:00
disk Updated copyright for 2026 2026-01-01 09:40:08 -08:00
dos DOS & Tray: Don't do NULL-checks before SDL_free() 2026-05-13 11:28:54 -07:00
dsp Updated copyright for 2026 2026-01-01 09:40:08 -08:00
dummy dummyaudio: Remove bitrotted support for __EMSCRIPTEN_PTHREADS__ code path. 2026-02-08 09:31:13 -08:00
emscripten emscripten: Cleanup some wasm32/wasm64 ifdefs. 2026-02-02 19:21:42 -05:00
haiku Updated copyright for 2026 2026-01-01 09:40:08 -08:00
jack Updated copyright for 2026 2026-01-01 09:40:08 -08:00
n3ds Updated copyright for 2026 2026-01-01 09:40:08 -08:00
netbsd Updated copyright for 2026 2026-01-01 09:40:08 -08:00
ngage [N-Gage] Resolve hang on repeated app launch. 2026-05-06 18:32:05 +02:00
openslES Fix #15500: deprecation warning on Android for slCreateEngine 2026-05-13 16:44:19 -04:00
pipewire pipewire: Add SDL_HINT_AUDIO_DEVICE_STREAM_NAME callback earlier. 2026-06-02 19:04:28 -04:00
ps2 Updated copyright for 2026 2026-01-01 09:40:08 -08:00
psp Updated copyright for 2026 2026-01-01 09:40:08 -08:00
pulseaudio Updated copyright for 2026 2026-01-01 09:40:08 -08:00
qnx Updated copyright for 2026 2026-01-01 09:40:08 -08:00
sndio Updated copyright for 2026 2026-01-01 09:40:08 -08:00
vita Updated copyright for 2026 2026-01-01 09:40:08 -08:00
wasapi SDL_wasapi.c: added comment about SDL_AudioClientProperties workaround 2026-05-19 11:21:04 +03:00
SDL_audio.c Add DOS platform support (DJGPP) (#15377) 2026-04-23 19:54:49 -04:00
SDL_audio_c.h Updated copyright for 2026 2026-01-01 09:40:08 -08:00
SDL_audio_channel_converters.h Updated copyright for 2026 2026-01-01 09:40:08 -08:00
SDL_audiocvt.c Updated copyright for 2026 2026-01-01 09:40:08 -08:00
SDL_audiodev.c Updated copyright for 2026 2026-01-01 09:40:08 -08:00
SDL_audiodev_c.h Updated copyright for 2026 2026-01-01 09:40:08 -08:00
SDL_audioqueue.c Updated copyright for 2026 2026-01-01 09:40:08 -08:00
SDL_audioqueue.h Updated copyright for 2026 2026-01-01 09:40:08 -08:00
SDL_audioresample.c Updated copyright for 2026 2026-01-01 09:40:08 -08:00
SDL_audioresample.h Updated copyright for 2026 2026-01-01 09:40:08 -08:00
SDL_audiotypecvt.c Fix warnings: Extra semi - macro usage (#15015) 2026-02-08 16:58:53 -08:00
SDL_mixer.c Updated copyright for 2026 2026-01-01 09:40:08 -08:00
SDL_sysaudio.h Add DOS platform support (DJGPP) (#15377) 2026-04-23 19:54:49 -04:00
SDL_wave.c Updated copyright for 2026 2026-01-01 09:40:08 -08:00
SDL_wave.h Updated copyright for 2026 2026-01-01 09:40:08 -08:00