SDL/src
Ethan Lee 9d294f1fca audio: Allow AudioStreamGet to return 0 in RunAudio.
While we should normally expect _something_ from the stream based on the
AudioStreamAvailable check, it's possible for a device change to flush the
stream at an inconvenient time, causing this function to return 0.

Thing is, this is harmless. Either data will be NULL and the result won't matter
anyway, or the data buffer will be zeroed out and the output will just be
silence for the brief moment that the device change is occurring. Both scenarios
work themselves out, and testing on Windows shows that this behavior is safe.
2021-03-29 08:58:02 -07:00
..
atomic Use specific acquire and release variants of InterlockedExchange on ARM 2021-01-03 12:13:40 -06:00
audio audio: Allow AudioStreamGet to return 0 in RunAudio. 2021-03-29 08:58:02 -07:00
core linux: Fix ibus support on Wayland/XWayland 2021-03-29 08:50:56 -07:00
cpuinfo Initial rebase of xerpi's port 2021-03-08 09:07:12 -08:00
dynapi Squashed commit of the following: 2021-03-29 08:54:41 -07:00
events Fix invalid UTF-8 handling of extra bytes 2021-03-16 18:51:28 -07:00
file Add support for Vita file API in SDL_rwops 2021-03-08 09:07:12 -08:00
filesystem Deprecate dolcesdk 2021-03-08 09:07:12 -08:00
haptic Updated copyright for 2021 2021-01-02 10:25:38 -08:00
hidapi Added support for the Amazon Game Controller to the HIDAPI driver 2021-03-26 11:57:19 -07:00
joystick Added mapping for the Amazon Luna controller on Linux 2021-03-26 13:53:58 -07:00
libm Updated copyright for 2021 2021-01-02 10:25:38 -08:00
loadso Updated copyright for 2021 2021-01-02 10:25:38 -08:00
locale consistently use TEXT() macro with LoadLibrary() and GetModuleHandle() 2021-01-04 01:23:50 +03:00
main SDL_windows_main.c: use new WIN_StringToUTF8W macro 2021-01-04 10:20:10 +03:00
misc Deprecate dolcesdk 2021-03-08 09:07:12 -08:00
power Initial rebase of xerpi's port 2021-03-08 09:07:12 -08:00
render [KMSDRM] Undo SDL_CreateRenderer() modifications aimed at create opengles2 when KMSDRM is in use because it's a harmful solution. 2021-03-16 11:07:54 -07:00
sensor Deprecate dolcesdk 2021-03-08 09:07:12 -08:00
stdlib fix invalid out of bounds UTF8 handling 2021-03-16 18:51:28 -07:00
test Fix flags check in test code 2021-02-15 08:43:53 -08:00
thread Squashed commit of the following: 2021-03-29 08:54:41 -07:00
timer Formatting 2021-03-08 09:07:12 -08:00
video [KMSDRM] Change error message. 2021-03-28 16:38:06 -07:00
SDL.c Initial rebase of xerpi's port 2021-03-08 09:07:12 -08:00
SDL_assert.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_assert_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_dataqueue.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_dataqueue.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_error.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_error_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_hints.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_hints_c.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_internal.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
SDL_log.c Initial rebase of xerpi's port 2021-03-08 09:07:12 -08:00