LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Call of duty sound delay (https://www.linuxquestions.org/questions/linux-games-33/call-of-duty-sound-delay-357139/)

jaksamarkotic 08-26-2005 03:22 AM

Call of duty sound delay
 
HI!

I am using Debian sarge and wine 20050310. I have ATI propriatery drivers (Radeon 9800 pro) and ALSA (snd_intel8x0 module - Intel 865PERL onboard sound) installed. Sound is working fine in other apps. Call of duty is installed using loki installer. Everything runs smooth except the sound. Sound is played too late (1-2 sec delay) after video. I have read the half-life with wine HOWTO (section 3.1.1). It says I should add the line _snd_mixahead "0.23" to hl config. I don't know how to do this on call of duty.
I tried it with wine 20050725, 2.6.8 and 2.6.11 kernels, but the problem is the same. When i uncomment the "HardwareAcceleration" = "Emulation" line in ~/.wine/config, the lag gets smaller a bit, but it's still there. Does anybody have the same problem?

I also read a similar thread in linuxquestions.org archive (Medal of Honor wine sound delay), there's no solution there.

Using Cedega is not an option.

Can anyone help me?

jaksamarkotic 08-26-2005 03:46 AM

:) I solved my own problem! :)

this are the important options in ~/.wine/config:

[WinMM]
"Drivers" = "winealsa.drv"

[dsound]
"HELmargin" = "2"
"HELqueue" = "2"
"SndQueueMax" = "7"
"SndQueueMin" = "3"
"HardwareAcceleration" = "Emulation"


All times are GMT -5. The time now is 10:18 PM.