Dolphin, the GameCube and Wii emulator - Forums

Full Version: [PATCH] Xenoblade: HLE audio hack fix
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
EDIT (2013-05-30): this hack is no longer required if you use recent versions of Dolphin (>= 3.5-1000). The Dolphin team provides no support for this hack/patch.

This patch should prevent choppy noise in HLE audio in Xenoblade.

After playing for a while, especially when FPS is above/below expected game FPS, audio turns into choppy noise mixed with normal audio. Easy way to see this is to sit at the title screen with no fps limiting or audio throttling. With this patch applied the noise shouldn't occur.


r6856 x64 with the patch v2: https://docs.google.com/leaf?id=0B6-VV5W...ist&num=50

r6856 win32 with the patch v2: https://docs.google.com/leaf?id=0B6-VV5W...ist&num=50

For those interested in how this works, the game engine's writes to looping audio buffers seems to drift towards the read offsets until it eventually overtakes them (resulting in noise). When the engine only sees odd offsets in the PB structures this doesn't seem to happen.

Update: Posted v3.1 here http://forums.dolphin-emu.org/showthread...#pid169677
Awesome! Thanks for this. Smile

Ninja_Gundam

Hmm nice addon! Can u build up a 32bit revision already patched too? Smile Smile

Chooo
Added a win32 build to the OP.

Ninja_Gundam

Thx for the nice and quick patch! I will try when i can and report. Btw, what u suggesto to use as audioconfiguration? openAl,Dsound..?

Chooo
XAudio2, 48k, audio throttle on, frame limit off

leisurecrab

Thx so much. This issue has troubled me for a long time. I will give my feedback as soon as possible!!!

Ninja_Gundam

Thx tested now seem to works really nicer than before Smile

Just a question.. coz im ignorant;
after a patch like this one, has been tested, the new svn of dolphin will include those automatically?

Chooo

kentchoy89

I have tried to use the patched version 6820 build up, but there are noise when battling, sound like lagging. Can i know what is the problem?
I made some changes to the patch that should fix the issues you are having. The newer version has been added to the OP.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41