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

Function StopSoundTracks

TombEngine/Sound/sound.cpp:668–678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

666}
667
668void StopSoundTracks(int fadeoutTime, bool excludeAmbience)
669{
670 for (int i = 0; i < (int)SoundTrackType::Count; i++)
671 {
672 auto type = (SoundTrackType)i;
673 if (excludeAmbience && type == SoundTrackType::BGM)
674 continue;
675
676 StopSoundTrack(type, fadeoutTime);
677 }
678}
679
680void StopSoundTrack(SoundTrackType mode, int fadeoutTime)
681{

Callers 4

LoadLevelFunction · 0.85
EndGameLoopFunction · 0.85
StopAudioTracksFunction · 0.85

Calls 1

StopSoundTrackFunction · 0.85

Tested by

no test coverage detected