SDL/src
Ryan C. Gordon d713a68071
pulseaudio: wait until at least 1/8th (!) of the mixbuffer is available.
This is to workaround systems where we hang in playback because the buffer
does not report the space for whatever reason. The system will instead block
in PlayDevice, which always immediately follows WaitDevice in modern times
so this works out, and it seems to keep the device moving forward.

For a future revision, we are either going to clean this up more properly,
or attempt to move to PulseAudio's pa_stream_set_write_callback() API, but
this will do for SDL 2.0.18.

Reference #4387 for discussion and further information.
2021-11-25 22:32:40 -05:00
..
atomic minor cleanup for watcom _inline keyword. 2021-11-25 17:00:24 +03:00
audio pulseaudio: wait until at least 1/8th (!) of the mixbuffer is available. 2021-11-25 22:32:40 -05:00
core Fix warnings: static function, {} initializier, un-needed enum forward declaration 2021-11-23 10:47:34 +01:00
cpuinfo cpuinfo: remove malloc from comments 2021-11-22 08:38:46 -08:00
dynapi Added SDL_PremultiplyAlpha() to premultiply alpha on a block of SDL_PIXELFORMAT_ARGB8888 pixels 2021-11-21 12:18:10 -08:00
events Remove 'malloc' from comment 2021-11-22 08:38:46 -08:00
file Add support for Vita file API in SDL_rwops 2021-03-08 09:07:12 -08:00
filesystem Use SDL_free 2021-11-22 08:38:46 -08:00
haptic use SDL's functions version inplace of libc version 2021-11-22 08:38:46 -08:00
hidapi Release UDEV ressources 2021-11-25 07:24:18 -05:00
joystick SDL_mfijoystick.m: Fix -Wshadow warning 2021-11-24 13:04:50 -06: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 use SDL's functions version inplace of libc version 2021-11-22 08:38:46 -08:00
main Updated to version 2.0.17 for development 2021-08-10 15:02:36 -07:00
misc Fix warnings: static, include, un-initialized vairables 2021-11-23 10:33:12 +01:00
power use SDL's functions version inplace of libc version 2021-11-22 08:38:46 -08:00
render Fixed d3d11 renderer creation 2021-11-24 10:11:35 -05:00
sensor Fixed whitespace 2021-11-12 08:28:02 -08:00
stdlib Add and use SDL_FALLTHROUGH for fallthroughs 2021-11-12 07:26:14 +03:00
test Added debug output for display connect/disconnect events 2021-11-23 19:43:01 +00:00
thread VITA, PSP: use SDL_malloc 2021-11-22 08:38:46 -08:00
timer Fix warning: declaration shadows a local variable 2021-11-09 13:33:24 +01:00
video Only send display events for hotplugged displays, not the initial state 2021-11-23 20:14:18 +00:00
SDL.c minor tidy-up for ifdefs & co. 2021-11-20 21:51:10 +03: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 Remove malloc from comment 2021-11-22 08:38:46 -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 Remove SDL_HAVE_RENDER_GEOMETRY define 2021-10-24 22:27:56 -04:00
SDL_log.c log: Fixed compiler warnings on 64-bit Visual Studio. 2021-08-04 02:34:09 -04:00