That sounds right. I've never used anything higher than Windows 7, so the whole WASAPI UWP (Universal Windows Platform) is foreign to me, but I looked at how other game emulators solved it, and my proposed solution incorporates what I think is the best solution, only setting it if the user hasn't already overridden it.Jubatian wrote: ↑Sun Jun 21, 2020 12:35 pm Hi Artcfox,
Taking a look at the Windows Audio issue, trying to understand the causes and why the particular solution would solve it. Do I get it right that the introduction of WASAPI support is the culprit?
https://discourse.libsdl.org/t/sdl-2-0-8-released/23957
Which is introduced in 2.0.8, and indeed I see complaints that it doesn't work. So in case of 2.0.8 and above, CUzeBox would have to force selecting directsound as default (unless the user had set up the environment variable already for something) which I presume was the default before 2.0.8.
Perhaps there is someone here who can test to make sure this works on Windows 10? My guess is it would, since all the old games would still have to run with DirectSound, but we should get confirmation.