MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / StopAllSounds

Function StopAllSounds

TombEngine/Sound/sound.cpp:400–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398}
399
400void StopAllSounds()
401{
402 for (int i = 0; i < SOUND_MAX_CHANNELS; i++)
403 Sound_FreeSlot(i, SOUND_XFADETIME_CUTSOUND);
404
405 ZeroMemory(SoundSlot, (sizeof(SoundEffectSlot) * SOUND_MAX_CHANNELS));
406}
407
408void FreeSamples()
409{

Callers 5

LoadLevelFileFunction · 0.85
FreeSamplesFunction · 0.85
CallPauseMethod · 0.85
EndGameLoopFunction · 0.85
HandleMenuCallsFunction · 0.85

Calls 1

Sound_FreeSlotFunction · 0.85

Tested by

no test coverage detected