MCPcopy Create free account
hub / github.com/JACoders/OpenJK / S_DisableSounds

Function S_DisableSounds

code/client/snd_dma.cpp:907–910  ·  view source on GitHub ↗

=================== S_DisableSounds Disables sounds until the next S_BeginRegistration. This is called when the hunk is cleared and the sounds are no longer valid. =================== */

Source from the content-addressed store, hash-verified

905===================
906*/
907void S_DisableSounds( void ) {
908 S_StopAllSounds();
909 s_soundMuted = qtrue;
910}
911
912/*
913=====================

Callers 1

CL_FlushMemoryFunction · 0.70

Calls 1

S_StopAllSoundsFunction · 0.70

Tested by

no test coverage detected