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

Method GetCurrentLoopName

music/sequencer.cpp:737–745  ·  view source on GitHub ↗

get current loop playing

Source from the content-addressed store, hash-verified

735
736// get current loop playing
737const char *OutrageMusicSeq::GetCurrentLoopName(int *count) {
738 if (m_playing_song) {
739 *count = m_playing_song->strm->m_stream.GetLoopCount();
740 return m_playing_song->loop_name;
741 }
742
743 *count = 0;
744 return NULL;
745}
746
747// gets current region PLAYING, not PENDING like above.
748int16_t OutrageMusicSeq::GetPlayingRegion() const {

Callers 1

D3MusicDoFrameFunction · 0.80

Calls 1

GetLoopCountMethod · 0.80

Tested by

no test coverage detected