SDL/src/core/windows
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
..
SDL_directx.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_hid.c Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_hid.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_immdevice.c wasapi: Deal with HDMI or DisplayPort-based audio devices. 2023-05-26 19:15:28 -04:00
SDL_immdevice.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_windows.c Updated source to match SDL function prototype style 2023-05-23 10:59:03 -07:00
SDL_windows.h Fix Xbox link error from IsRectEmpty 2023-05-21 19:11:25 -07:00
SDL_xinput.c Updated copyright for 2023 2023-01-09 09:48:21 -08:00
SDL_xinput.h Updated copyright for 2023 2023-01-09 09:48:21 -08:00