rebtd7 / FF13Fix

Performance and bug fixes for the PC versions of FF13 and FF13-2
GNU General Public License v3.0
329 stars 22 forks source link

Buzzing noise when running the game with a Surround Sound setup [FFXIII-2] #79

Open Surihix opened 2 years ago

Surihix commented 2 years ago

An buzzing noise starts to play when the game opens and this noise continues to play along with the other sounds. this issue occurs only when the game is running on a surround sound setup.

Initially this bug was easily fixable by setting the compatibility setting of the launcher file to windows 8 (windows vista for windows versions older than 8). But after the FF13Fix version 1.4.6, the game refuses to launch if that compatibility setting is used.

Could you please figure out what exactly is wrong with the surround sound code that the game is using and how it is being resolved with the compatibility mode. if its possible then can you try integrate the sound related fix or change that the compatibility mode option is using to resolve the issue for the game.

rebtd7 commented 2 years ago

This can be reproduced on a stereo system by enabling the "Windows Sonic for Headphones" spacial sound setting.

I can take a look, but I'm not familiar with XAudio API at all (contributions are welcome, as always)

Surihix commented 2 years ago

The second game in general has a really poor sound implementation.

This is an assumption and can be wrong: I think by default the game also plays tracks meant to be played for surround sound speaker setup even if the user's speaker setup is stereo. As these tracks are meant for surround sound, the game doesn't know the user's sound channel is stereo and plays the tracks meant to be played for surround. this in turn causes certain sounds to be muffled over the other and makes the overall sound experience quite bad.

I don't know if this can be fixed from outside without touching the game code, but I am letting you know about this as it might be linked with the surround sound bug.