It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Hi,

so I get the problem on Wine and Windows that the audio appears to be muffled. If I record the audio in Audacity the frequencies above 11 kHz are cut off. So I guess the DirectSound whatever is only running at 22 kHz samplerate.
Is there any way to fix this? I know there are plenty of ddraw wrappers, but I wasn't able to find any for dsound.

This is especially noticable on the music which sounds a lot clearer when playing back through a regular player.
Hello,

Excuse the late reply. I am running S4 on XUbuntu (19.04) under wine and I did not notice any difference in sound whatsoever.

I can check with audacity to verify this.

EDIT: I, too, can verify your observation about the samplerate.
Not having heard the music through a regular player, I must say that between playing the game on XP and Ubuntu I can not hear any difference. Are you certain the issue lies within Wine and is not caused by AIL setting the samplerate to 11kHz?
Post edited November 02, 2019 by InstantMuffin2
Some time has passen now and I found out the reason. When SoundEngine.dll is initialized, it is so with a parameter of "22050" which causes the muffled audio.

To change that, open S4_main.exe in a hexeditor and search for bytes "22 56 00 00" (22050 in decimal). I only have one occurance of this sequence. Change that sequence to "44 AC 00 00" (44100 in decimal). That should fix the problem, allthough I have not extensively tested this yet.