Closed j4reporting closed 2 years ago
This issue might be handled by SDL: Have you reported it to SDL?
@ericwa, @andrei-drexler, @Novum: Any of you guys ran into this? Suggestions?
issue reported to SDL - https://github.com/libsdl-org/SDL/issues/5571
Audio is not initialized on WIndows if 'Intel display audio' is the only available audio device AND a modeset is issued. This is a known issue with Intel Drivers (see Intel document ).
I could fix this by simply retrying again 2 seconds later.
Unfortunately audio device is also lost later in the game when switching to another video resolution or switching from vid_fullscreen 0 <-> 1. What is needed is some kind of snd_restart command and ideally a check if the audio device is available and if not, an automatic restart of the audio device.
the same issue can be observed with vkQuake, Ironwail and probably with other forks.
Why had that worked for me all this years? I had a headphone connected to the system ( realtek HD audio) and Quakespasm would find the headphone, initialize audio and when Intel Display Audio re-apperared, SDL/ WASAPI would switch back to the default audio device!