XAudio2Create compatibility issue?
See original GitHub issueHi @amerkoleci,
I had a user that had an issue with XAudio2 on Windows 10 (1809). Any ideas why ProcessorSpecifier.UseDefaultProcessor while ProcessorSpecifier.DefaultProcessor works fine? It seems - by looking at the header file - like a compatibility issue:
// This value indicates that XAudio2 will choose the default processor by itself. The actual value chosen
// may vary depending on the hardware platform.
#define XAUDIO2_USE_DEFAULT_PROCESSOR 0x00000000
// This definition is included for backwards compatibility. New implementations should use
// XAUDIO2_USE_DEFAULT_PROCESSOR instead to let XAudio2 select the appropriate default processor for the hardware platform.
#define XAUDIO2_DEFAULT_PROCESSOR Processor1
I don’t get it how this causes issues on Win 10 machine (as it uses xAudio2.9). You might want to consider using the microsoft’s nuget package? And possible review whether by default you should set the DefaultProcessor instead of UseDefaultProcessor if the dll/sdk not support it?
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
xaudio2 issues Windows 10
I have recently been running into some issues with some of my games for a while where some games using xaudio2 crash, have...
Read more >XAudio2Create failed after the update 2021/4/20
XAudio2 is fully supported on Windows 20H2 including it's various version. Legacy XAudio 2.7 from the end-of-life DirectX SDK runs fine, as do ......
Read more >XAudio2 error in XAudio2Create - Page 2
I have noticed a few errors in the game related to DirectX install issues. These aren't the fault of Almost Human, but usually...
Read more >Unable to initialise Windows Audio. XAudio2Create ...
I'm going to take a guess that this revolves around a compatibility issue with Bluetooth based headphones. I've not found any recent details...
Read more >Re: Unable to initialise Windows Audio. XAudio2Create ...
I'm going to take a guess that this revolves around a compatibility issue with Bluetooth based headphones. I've not found any recent details...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Nice, thanks!
After upgrading to 2.1.1-beta2, audio seems to work on Windows 10 1809. I also test the 2.1.1-beta2 release on Windows 10 1607, Windows 10 1507 and the problem seems to be fixed.