Nice catch as I do not have Windows 11! I think the reason I opted for DirectSound is that Windows 7 does not support XAudio out of the box. Perhaps I should drop Windows 7 or try to make some runtime detection in Windows 7, but it will be hard to test as I have Windows 10.