mirror of https://github.com/libsdl-org/SDL.git
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. |
||
|---|---|---|
| .. | ||
| aaudio | ||
| alsa | ||
| android | ||
| arts | ||
| coreaudio | ||
| directsound | ||
| disk | ||
| dsp | ||
| dummy | ||
| emscripten | ||
| esd | ||
| fusionsound | ||
| haiku | ||
| jack | ||
| nacl | ||
| nas | ||
| netbsd | ||
| openslES | ||
| os2 | ||
| paudio | ||
| pipewire | ||
| psp | ||
| pulseaudio | ||
| qsa | ||
| sndio | ||
| sun | ||
| vita | ||
| wasapi | ||
| winmm | ||
| SDL_audio.c | ||
| SDL_audio_c.h | ||
| SDL_audiocvt.c | ||
| SDL_audiodev.c | ||
| SDL_audiodev_c.h | ||
| SDL_audiotypecvt.c | ||
| SDL_mixer.c | ||
| SDL_sysaudio.h | ||
| SDL_wave.c | ||
| SDL_wave.h | ||