SDL/src
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
..
atomic Updated copyright for 2025 2025-01-01 07:45:52 -08:00
audio Changed PULSEAUDIO_FlushRecording() to only flush audio present when called. 2025-02-24 07:30:36 -08:00
camera Disable all camera drivers if SDL_CAMERA_DISABLED is defined 2025-02-22 09:48:49 -08:00
core use hidapi to get mouse/keyboard string 2025-02-21 07:42:20 -08:00
cpuinfo Updated copyright for 2025 2025-01-01 07:45:52 -08:00
dialog Change DBUS introspection timer from INFINITE -> DEFAULT when introspecting available dialog services 2025-01-28 05:13:35 -08:00
dynapi dynapi: Don't use SDL_getenv; it might malloc before the app sets an allocator. 2025-02-06 12:46:15 -05:00
events Remove redundant casts 2025-02-21 10:09:10 -08:00
filesystem check for backslashes as well as the forward slash 2025-01-30 12:41:48 -08:00
gpu vulkan build fix 2025-02-23 12:19:12 -08:00
haptic SDL_OpenHapticFromJoystick() returns a valid haptic object 2025-02-05 17:08:41 -08:00
hidapi Remove newlines from log messages 2025-01-22 20:25:04 -08:00
io src/io/SDL_asyncio.c:SDL_AsyncIOFromFile(): Fix null-dereference warning 2025-02-23 11:12:24 -08:00
joystick Added support for the 8BitDo Micro gamepad 2025-02-22 09:19:59 -08:00
libm Updated copyright for 2025 2025-01-01 07:45:52 -08:00
loadso Updated copyright for 2025 2025-01-01 07:45:52 -08:00
locale Fixed language detection on iOS 2025-01-03 15:27:08 -08:00
main Updated copyright for 2025 2025-01-01 07:45:52 -08:00
misc Bumped deployment requirements for Apple platforms 2025-01-14 12:03:07 -08:00
power Updated copyright for 2025 2025-01-01 07:45:52 -08:00
process process: Don't use vfork() on Apple platforms. 2025-01-20 15:51:02 -05:00
render Remove redundant casts 2025-02-21 10:09:10 -08:00
sensor Remove newlines from log messages 2025-01-22 20:25:04 -08:00
stdlib hashtable: Redesign the hashtable API. 2025-02-15 18:52:56 -05:00
storage storage: enumerate and glob on storage can accept a NULL path. 2025-01-17 20:11:50 -05:00
test Remove redundant casts 2025-02-21 10:09:10 -08:00
thread thread/windows: fix stack overflow in exception naming 2025-02-20 07:57:00 -08:00
time Updated copyright for 2025 2025-01-01 07:45:52 -08:00
timer timer, windows: allow building high resolution code with old SDKs. 2025-02-02 21:23:50 +03:00
tray Fix GTK tray icon without menu + lifetime 2025-02-12 16:18:31 -08:00
video wayland: Fix mapping borderless windows under libdecor 2025-02-23 11:04:29 -05:00
SDL.c tray: improved error checking 2025-01-19 18:53:55 -08:00
SDL_assert.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_assert_c.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_error.c Don't log SDL errors by default 2025-01-02 17:32:10 -08:00
SDL_error_c.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_guid.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_hashtable.c hashtable: Redesign the hashtable API. 2025-02-15 18:52:56 -05:00
SDL_hashtable.h hashtable: Redesign the hashtable API. 2025-02-15 18:52:56 -05:00
SDL_hints.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_hints_c.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_internal.h Disable all camera drivers if SDL_CAMERA_DISABLED is defined 2025-02-22 09:48:49 -08:00
SDL_list.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_list.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_log.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_log_c.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_properties.c hashtable: Redesign the hashtable API. 2025-02-15 18:52:56 -05:00
SDL_properties_c.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
SDL_utils.c Replace "8BitDo Tech Ltd" with "8BitDo" in the manufacturer string 2025-02-22 09:19:59 -08:00
SDL_utils_c.h Refactored SDL_CreateJoystickName() into a general SDL_CreateDeviceName() 2025-02-21 09:10:54 -08:00