ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive

Home Page:http://counter-strike.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No audio with external soundcard and "Pro Audio" mode

KittenSoup opened this issue · comments

Your system information

  • System information from steam (Steam -> Help -> System Information) in a gist:
    System information

  • Have you checked for system updates?: [Yes/No]
    Yes

Please describe your issue in as much detail as possible:

I'm using an external soundcard (Tascam Model 12) with the "Pro Audio" setting in Linux, it is detected ingame under audio options as "Model 12" but I can't get any audio.

I initially thought this was due to audio going to HDMI, as Steam System Information initially reported the audio interface to be my graphics card. I have since disabled snd_hda_intel and now the audio interface in Steam System Information shows up as "USB Mixer" instead, but the issue persists.

checking soundinfo ingame gives me this:

[SoundSystemLowLevel] SDL Audio Device:  (status: 0, driver: pipewire)
[SoundSystemLowLevel] 2 channels, 0 bits per sample, 0 Hz
[SoundSystemLowLevel] Status: 	0, 0 (mix channels:0)
[SoundSystem] Device active: 0.00s.  Active Voices: 5

If I change from "Pro Audio" to "Analog Stereo Output" I get sound ingame, but I'd rather want to keep using "Pro Audio" if possible.

image

soundinfo after changing to Analaog Stereo Output:

[SoundSystemLowLevel] SDL Audio Device: Model 12 Analog Stereo (status: 1, driver: pipewire)
[SoundSystemLowLevel] 2 channels, 32 bits per sample, 48000 Hz
[SoundSystemLowLevel] Status: 	406, 750 (mix channels:2)
[SoundSystem] Device active: 8.71s.  Active Voices: 3

Steps for reproducing this issue:

  1. Use external soundcard (Tascam model 12) with the "Pro Audio" setting
  2. launch cs2
  3. Observe a lack of sound

Update: I've resolved my issues by adding
export SDL_AUDIO_DRIVER=alsa
to cs2.sh