MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / StepRow

Method StepRow

Source/SoundDriver.cpp:156–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156void CSoundDriver::StepRow(stChannelID chan) {
157 stChanNote NoteData = m_pPlayerCursor->GetSong().GetActiveNote(
158 chan, m_pPlayerCursor->GetCurrentFrame(), m_pPlayerCursor->GetCurrentRow()); // // //
159 for (auto &cmd : NoteData.Effects)
160 if (HandleGlobalEffect(cmd))
161 cmd = { };
162 if (!parent_ || !parent_->IsChannelMuted(chan))
163 QueueNote(chan, NoteData, NOTE_PRIO_1);
164 // Let view know what is about to play
165 if (parent_)
166 parent_->OnPlayNote(chan, NoteData);
167}
168
169void CSoundDriver::PlayerTick() {
170 if (!m_pTempoCounter)

Callers 2

PlayerTickMethod · 0.45
OnStepRowMethod · 0.45

Calls 6

GetSongMethod · 0.80
GetCurrentRowMethod · 0.80
OnPlayNoteMethod · 0.80
GetActiveNoteMethod · 0.45
GetCurrentFrameMethod · 0.45
IsChannelMutedMethod · 0.45

Tested by

no test coverage detected