ares icon indicating copy to clipboard operation
ares copied to clipboard

WASAPI and XAudio2 are not hot-plug aware

Open RayleeZ817 opened this issue 1 year ago • 2 comments

title

OS: Windows 10 Ares Version: 136 Official

RayleeZ817 avatar Feb 25 '24 14:02 RayleeZ817

This appears to be an issue with the WASAPI and (potentially) XAudio2 drivers; they only enumerate devices at startup and do not respond to plug/unplug events.

The SDL2 and DirectSound drivers should avoid this issue; but we will leave this open until we fix it for XAudio/WASAPI

LukeUsher avatar Mar 12 '24 13:03 LukeUsher

I have checked out this issue. SDL2 and WaveOut do respond properly to hotplugging. However, DirectSound will cause ares to hang if you plug your default device in while the game is running and only audio synchronize being checked. I did not check other sync combinations and behavior of hotplugging when a game is unloaded.

kev4cards avatar Mar 14 '24 02:03 kev4cards