If you're having issues with audio in CS 2 add this argument

If you are using pipewire add -sdlaudiodriver pipewire to your CS 2 launch options.

For those using gamemoderun it would look like this: gamemoderun %command% -sdlaudiodriver pipewire

59 points · 4 comments · view on lemmy.world

4 Comments

Confetti_Camouflage@pawb.social · 11 pts · 2y (1 reply)

You should also be able to set the SDL_AUDIODRIVER environment variable to pipewire to get this effect globally.

https://wiki.libsdl.org/SDL2/FAQUsingSDL

frozen@lemmy.frozeninferno.xyz · 5 pts · 2y

Oh, dope, thanks! I hope this doesn't fuck up anything that's hardcoded to expect Pulse or something, but I guess I'll find out.

uuhhhhmmmm@sh.itjust.works · 4 pts · 2y
[ removed ]
angrymouse@lemmy.world · 1 pts · 2y

This is happening with dota 2 as well, probably it was messed up on the engine level.

Molecular0079@lemmy.world · 1 pts · 2y

Yeah, seems like it is preferring the ALSA backend. Sound initially worked for me because I had pipewire-alsa installed, but I couldn't do anything to change the volume.