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

Method StopSong

music/sequencer.cpp:588–594  ·  view source on GitHub ↗

stops song, cold.

Source from the content-addressed store, hash-verified

586
587// stops song, cold.
588void OutrageMusicSeq::StopSong() {
589 if (m_active_song) {
590 m_active_song = NULL;
591 m_playing_song = NULL;
592 }
593 m_strm[m_dominant_strm].m_stream.Close();
594}
595
596// pauses
597void OutrageMusicSeq::Pause() {

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.45

Tested by

no test coverage detected