CSGOLuckGuides

snd_mute_losefocus

Mutes the game when you alt-tab out.

Verified for current CS2 versionVariableAudioUpdated
snd_mute_losefocus 0

Values

ValueEffect
snd_mute_losefocus 0Keep sound
snd_mute_losefocus 1MuteDefault

Examples

snd_mute_losefocus 0

How to use it

  1. Turn on the console under Settings, Game, Enable Developer Console.
  2. Press the key under Esc to open it.
  3. Type snd_mute_losefocus followed by a value and press Enter.
  4. To keep the setting, add the same line to your autoexec.cfg.

FAQ

Does snd_mute_losefocus need sv_cheats?

No. snd_mute_losefocus is not cheat-protected in CS2's command list, so you can use it in any game.

What is the default value of snd_mute_losefocus?

The default is 1 (true). To reset it, type snd_mute_losefocus 1 in the console.

More audio commands

Revision history

Related guides