SDL/src
Ryan C. Gordon c6cecb0fb0
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.

(cherry picked from commit 48e71ae87b)
2023-05-26 19:15:56 -04:00
..
atomic Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
audio Fixed build warning on Xcode 14.3 2023-05-26 08:19:04 -07:00
core wasapi: Deal with HDMI or DisplayPort-based audio devices. 2023-05-26 19:15:56 -04:00
cpuinfo Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
dynapi SDL API renaming: SDL TLS functions 2023-05-26 08:33:15 -07:00
events Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
file Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
filesystem Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
haptic Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
hidapi Fixed HIDAPI driver build 2023-05-26 10:03:11 -07:00
joystick Use the bus in the HIDAPI joystick guid now that it's available 2023-05-26 08:19:04 -07:00
libm Fixed Visual Studio warning 4389 2023-03-30 14:02:04 -07:00
loadso Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
locale Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
main/winrt Remove SDL3_main from build systems, remove most of src/main/* 2022-12-15 08:01:01 -08:00
misc Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
power Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
render Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
sensor Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
stdlib Added support for printing wide strings using "%ls" syntax 2023-05-26 13:58:10 -07:00
test Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
thread SDL API renaming: SDL TLS functions 2023-05-26 08:33:15 -07:00
timer SDL API renaming: SDL TLS functions 2023-05-26 08:33:15 -07:00
video SDL API renaming: SDL TLS functions 2023-05-26 08:33:15 -07:00
SDL.c SDL API renaming: SDL TLS functions 2023-05-26 08:33:15 -07:00
SDL_assert.c Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
SDL_assert_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_dataqueue.c Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
SDL_dataqueue.h Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention 2023-04-28 12:08:33 -07:00
SDL_error.c Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
SDL_error_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_guid.c Add error returns to void functions that can fail/set errors. 2023-02-09 07:23:21 -08:00
SDL_hints.c Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
SDL_hints_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_internal.h Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention 2023-04-28 12:08:33 -07:00
SDL_list.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_list.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_log.c Updated source to match SDL function prototype style 2023-05-23 11:29:41 -07:00
SDL_log_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_utils.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
SDL_utils_c.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00