SDL/src/audio
Petter Reinholdtsen 35544df838 Changed PULSEAUDIO_FlushRecording() to only flush audio present when called.
When the flushing is not able to keep up with the audio stream coming in, it
will end up flushing forever and block API clients from getting any audio.

The example program in #9706 get some audio with SDL 3, while do not get any
audio with SDL 2, which I suspect is because SDL 3 is quicker at flushing the audio.
A fix for the SDL 2 issue is available in #12378.
2025-02-24 07:30:36 -08:00
..
aaudio audio/video: Fix uninitialized field warnings 2025-02-14 17:16:10 -05:00
alsa Add 'const' to pointer parameters 2025-02-21 15:59:40 -08:00
coreaudio audio/video: Fix uninitialized field warnings 2025-02-14 17:16:10 -05:00
directsound audio/video: Fix uninitialized field warnings 2025-02-14 17:16:10 -05:00
disk audio/video: Fix uninitialized field warnings 2025-02-14 17:16:10 -05:00
dsp audio/video: Fix uninitialized field warnings 2025-02-14 17:16:10 -05:00
dummy audio/video: Fix uninitialized field warnings 2025-02-14 17:16:10 -05:00
emscripten Fix SDL_emscriptenaudio.c under wasm64 2025-02-19 13:00:47 -08:00
haiku audio/video: Fix uninitialized field warnings 2025-02-14 17:16:10 -05:00
jack audio/video: Fix uninitialized field warnings 2025-02-14 17:16:10 -05:00
n3ds audio/video: Fix uninitialized field warnings 2025-02-14 17:16:10 -05:00
netbsd audio/video: Fix uninitialized field warnings 2025-02-14 17:16:10 -05:00
openslES audio/video: Fix uninitialized field warnings 2025-02-14 17:16:10 -05:00
pipewire pipewire: Fix possible deadlock when opening a device 2025-02-22 11:37:06 -08:00
ps2 audio/video: Fix uninitialized field warnings 2025-02-14 17:16:10 -05:00
psp audio/video: Fix uninitialized field warnings 2025-02-14 17:16:10 -05:00
pulseaudio Changed PULSEAUDIO_FlushRecording() to only flush audio present when called. 2025-02-24 07:30:36 -08:00
qnx audio/video: Fix uninitialized field warnings 2025-02-14 17:16:10 -05:00
sndio audio/video: Fix uninitialized field warnings 2025-02-14 17:16:10 -05:00
vita audio/video: Fix uninitialized field warnings 2025-02-14 17:16:10 -05:00
wasapi audio/video: Fix uninitialized field warnings 2025-02-14 17:16:10 -05:00
SDL_audio.c Remove redundant casts 2025-02-21 10:09:10 -08:00
SDL_audio_c.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_audio_channel_converters.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_audiocvt.c audio: Fix potential NULL dereference in AudioStream gain adjustment. 2025-01-28 13:14:25 -05:00
SDL_audiodev.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_audiodev_c.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_audioqueue.c audio: Fix audio stream gain going wrong in certain scenarios. 2025-01-27 20:20:17 -05:00
SDL_audioqueue.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_audioresample.c Add 'const' to pointer parameters 2025-02-21 15:59:40 -08:00
SDL_audioresample.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_audiotypecvt.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_mixer.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_sysaudio.h audio/video: Skip preferred drivers when loading a driver on demand 2025-02-12 11:51:36 -05:00
SDL_wave.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_wave.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00