SDL/src
Ryan C. Gordon 48e71ae87b
wasapi: Deal with HDMI or DisplayPort-based audio devices.
They can vanish for UP TO EIGHT SECONDS...!

This is for devices that connect to HDMI/DisplayPort/etc, where it
presumably has to wait for a display to get up and running before it
can play audio through it, so one can see the audio device fail when
changing display modes, or the system returning from sleep. Since this
can be triggered by a game changing video resolutions at startup (either
before or after opening the audio device!), it's important to deal with.

In normal conditions, it shouldn't take this long to open or recover an
audio device, but this is better than unexpectedly losing the device
in this situation.

Fixes #7044.
Fixes #5571.
2023-05-26 19:15:28 -04:00
..
atomic Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
audio Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
core wasapi: Deal with HDMI or DisplayPort-based audio devices. 2023-05-26 19:15:28 -04:00
cpuinfo Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
dynapi Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
events Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
file Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
filesystem Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
haptic Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
hidapi Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
joystick Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
libm Updated copyright for 2023 2023-01-09 09:48:21 -08:00
loadso Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
locale Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
main Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
misc Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
power Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
render Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
sensor Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) 2023-03-09 15:23:59 -08:00
stdlib Added support for printing wide strings using "%ls" syntax 2023-05-26 14:59:30 -07:00
test Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
thread Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
timer Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
video Fix -Wunused-function warning when configuring with -DSDL_X11_XINPUT2=OFF 2023-05-26 15:28:58 -04:00
SDL.c Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
SDL_assert.c Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
SDL_assert_c.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_dataqueue.c Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
SDL_dataqueue.h dataqueue: Make thread safe. 2023-03-02 16:43:44 -05:00
SDL_error.c Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
SDL_error_c.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_guid.c Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_hints.c Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
SDL_hints_c.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_internal.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_list.c Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_list.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_log.c Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
SDL_log_c.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_utils.c Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_utils_c.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00