SDL/src
Sam Lantinga 2423c51471 Work around hang in AAudioStream_write() during extended shared object loading while running in a debugger. Observed on a OnePlus 8T (KB2005) running Oxygen OS 11.0.10.10.KB05AA.
The observed behavior is that any nonzero timeout value would hang until the device was paused and resumed. And a zero timeout value would always return 0 frames written even when audio fragments could be heard. Making a manual timeout system unworkable.
None of the straightforward systems imply that there's a detectable problem before the call to AAudioStream_write(). And the callback set within AAudioStreamBuilder_setErrorCallback() does not get called as we enter the hang state.
I've found that AAudioStream_getTimestamp() will report an error state from another thread. So this change codifies that behavior a bit until a better fix or more root cause can be found.
2021-10-13 09:33:51 -07:00
..
atomic atomic: detect clang separately 2021-09-16 17:33:52 -07:00
audio Work around hang in AAudioStream_write() during extended shared object loading while running in a debugger. Observed on a OnePlus 8T (KB2005) running Oxygen OS 11.0.10.10.KB05AA. 2021-10-13 09:33:51 -07:00
core Added support for touchpads in the Linux evdev code (thanks Francisco!) 2021-10-07 18:14:16 -07:00
cpuinfo Fix AltiVec detection on FreeBSD 2021-09-21 09:57:10 -07:00
dynapi Add SDL_asprintf and SDL_vasprintf 2021-09-22 11:53:46 -07:00
events Don't warp the mouse within a window while it's minimized 2021-10-06 09:09:09 -07:00
file Add support for Vita file API in SDL_rwops 2021-03-08 09:07:12 -08:00
filesystem Improve RISC OS implementations of SDL_GetBasePath and SDL_GetPrefPath 2021-10-12 13:07:52 -07:00
haptic Fixed some accidental uses of external C runtime functions 2021-09-22 09:06:45 -07:00
hidapi Use correct relative include path 2021-10-01 16:27:59 -07:00
joystick replaced many uses of libc calls with SDL_ counterparts in os2 sources. 2021-10-04 23:00:28 +03:00
libm
loadso
locale
main Updated to version 2.0.17 for development 2021-08-10 15:02:36 -07:00
misc unix: OpenURL: Move unsetenv above vfork 2021-08-01 03:58:49 -07:00
power Fixed some accidental uses of external C runtime functions 2021-09-22 09:06:45 -07:00
render PSP: add implementation for RenderGeometry 2021-10-04 22:01:11 +02:00
sensor Deprecate dolcesdk 2021-03-08 09:07:12 -08:00
stdlib fix SDL_atoi() 2021-10-04 21:32:00 +03:00
test Added Ctrl-T to toggle topmost mode in test programs 2021-08-13 17:53:39 -07:00
thread Vita: fix thread detach. Remove leftover KillThread 2021-09-20 11:03:02 -07:00
timer Formatting 2021-03-08 09:07:12 -08:00
video Work around hang in AAudioStream_write() during extended shared object loading while running in a debugger. Observed on a OnePlus 8T (KB2005) running Oxygen OS 11.0.10.10.KB05AA. 2021-10-13 09:33:51 -07:00
SDL.c Ensure that SDL_InitSubSystem quits subsystems after an error. (#4834) 2021-10-12 15:55:31 -07:00
SDL_assert.c
SDL_assert_c.h
SDL_dataqueue.c
SDL_dataqueue.h
SDL_error.c
SDL_error_c.h
SDL_hints.c
SDL_hints_c.h
SDL_internal.h Add SDL_HAVE_RENDER_GEOMETRY to compile or not with RenderGeometry support 2021-08-19 00:10:59 +02:00
SDL_log.c log: Fixed compiler warnings on 64-bit Visual Studio. 2021-08-04 02:34:09 -04:00