Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ StopAmbientSounds()

static void Terraria.Audio.SoundEngine.StopAmbientSounds ( )
inlinestatic

Definition at line 159 of file SoundEngine.cs.

160 {
161 if (!Main.dedServ && IsAudioSupported && LegacySoundPlayer != null)
162 {
163 LegacySoundPlayer.StopAmbientSounds();
164 }
165 }
static LegacySoundPlayer LegacySoundPlayer

References Terraria.Main.dedServ, Terraria.Audio.SoundEngine.IsAudioSupported, and Terraria.Audio.LegacySoundPlayer.StopAmbientSounds().

Referenced by Terraria.Main.UpdateAudio().