ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.68k stars 625 forks source link

Sound playback too fast on GoldSrc games with SDL_AUDIODRIVER=alsa under Linux #1505

Open pilotforhire opened 10 years ago

pilotforhire commented 10 years ago

Hi, I have an issue with GoldSrc games under Linux & alsa. To have sound at all on a pure ALSA system I started steam with SDL_AUDIODRIVER=alsa. This works so far and I have sound in all games. However in GoldSrc games all sounds play too fast resulting in a high-pitched playback. This only happens on alsa, not with Pulseaudio.

Someone already described the issue at steam community: http://steamcommunity.com/app/70/discussions/0/864958451379785189/

mittorn commented 9 years ago

Try add "plug" alsa plugin, it seems that sample rate is wrong.