FNA-XNA / FAudio

FAudio - Accuracy-focused XAudio reimplementation for open platforms
https://fna-xna.github.io/
Other
555 stars 76 forks source link

No sound in Skyrim LE #101

Closed Kron4ek closed 5 years ago

Kron4ek commented 5 years ago

When i run Skyrim Legendary Edition with FAudio dlls, i get such error:

00eb:err:ole:COMPOBJ_DllList_Add couldn't find function DllGetClassObject in L"C:\\windows\\system32\\xaudio2_6.dll"

And therefore, there is no sound in game.

Used commit: 13ef41ce8cf52ccaa3dbc8044886e0e9d810bc04

flibitijibibo commented 5 years ago

Duplicate of https://github.com/ValveSoftware/Proton/issues/4

Kron4ek commented 5 years ago

@flibitijibibo The problem is in Legendary Edition, not Special Edition.

FAudio works with Special Edition, but doesn't work with Legendary Edition (which is x32/i686).

Also, my FAudio compiled with FFmpeg support.

flibitijibibo commented 5 years ago

Same problem, different architecture. In the case of 32-bit, however, you have the DX redist that can take care of the WMA issue.

This error message in particular points at DllGetClassObject, which would be handled either by a native DLL (not ours) or builtin (which is here).

Kron4ek commented 5 years ago

@flibitijibibo Yep, sound works with DX redist, but i thought it will work with FAudio too. I also forgot to say, that i use MinGW build, if that matters.

Anyway, that's not a big problem, i just tried it in testing purpose.

flibitijibibo commented 5 years ago

Of the three options (DX, builtin, MinGW), MinGW is probably the least functional since it gets the least attention (and at some point it will probably be discontinued). builtin will work if you configure the prefix to use builtin first, otherwise the default is to fall back to native (in Proton at least, I don't think this will be the case for vanilla Wine).