question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

XAudio2Create compatibility issue?

See original GitHub issue

Hi @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:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
amerkolecicommented, Jan 7, 2022

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.

Nice, thanks!

1reaction
MycroBeatcommented, Jan 7, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found