SDL/src/audio
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
..
aaudio 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
alsa alsa: Map 7.1 audio channels to match what Windows and macOS expect. 2021-09-21 16:49:44 -04:00
android
arts
coreaudio Removed duplicate SDL_AtomicGet() 2021-05-28 12:29:54 -04:00
directsound
disk
dsp Make sure SDL file descriptors don't leak into child processes 2021-09-08 14:47:40 -07:00
dummy
emscripten emscripten: Feed silence to device when paused 2021-08-14 12:24:35 +01:00
esd
fusionsound
haiku
jack
nacl
nas Fixed some accidental uses of external C runtime functions 2021-09-22 09:06:45 -07:00
netbsd Make sure SDL file descriptors don't leak into child processes 2021-09-08 14:47:40 -07:00
openslES
os2 replaced many uses of libc calls with SDL_ counterparts in os2 sources. 2021-10-04 23:00:28 +03:00
paudio
pipewire Add SDL_HINT_APP_NAME and DBUS inhibition hint 2021-08-30 09:15:11 -04:00
psp
pulseaudio Add SDL_HINT_APP_NAME and DBUS inhibition hint 2021-08-30 09:15:11 -04:00
qsa
sndio
sun
vita
wasapi SDL_wasapi.c: fixed build against older SDKs. 2021-08-12 01:40:50 +03:00
winmm
SDL_audio.c Restore previous behavior of empty SDL_AUDIODRIVER trying all drivers. 2021-08-30 05:00:51 +03:00
SDL_audio_c.h
SDL_audiocvt.c Improve portability of SDL_Convert51ToStereo_AVX 2021-08-12 16:04:35 -07:00
SDL_audiodev.c Make sure SDL file descriptors don't leak into child processes 2021-09-08 14:47:40 -07:00
SDL_audiodev_c.h
SDL_audiotypecvt.c
SDL_mixer.c
SDL_sysaudio.h
SDL_wave.c
SDL_wave.h