MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / StopAllSounds

Method StopAllSounds

sndlib/sdlsound.cpp:490–496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490void lnxsound::StopAllSounds() {
491 for (auto &current_slot : sound_cache) {
492 if (current_slot.m_status != SSF_UNUSED) {
493 StopSound(current_slot.m_unique_id);
494 }
495 }
496}
497
498// Checks if a sound is playing (removes finished sound);
499bool lnxsound::IsSoundInstancePlaying(int sound_uid) {

Callers 10

OnDeleteSoundMethod · 0.45
OnKillsoundsMethod · 0.45
OnOKMethod · 0.45
OnCancelMethod · 0.45
OnStopSoundsButtonMethod · 0.45
StartLevelFunction · 0.45
FreeThisLevelFunction · 0.45
EndLevelFunction · 0.45
RunGameMenuFunction · 0.45
OnDestroyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected