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

Method OnUpdateRow

Source/SoundGen.cpp:642–648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

640}
641
642void CSoundGen::OnUpdateRow(int frame, int row) {
643 auto *pMark = m_pModule->GetSong(m_iLastTrack)->GetBookmarks().FindAt(frame, row);
644 if (pMark && pMark->m_Highlight.First != -1) // // //
645 m_iLastHighlight = pMark->m_Highlight.First;
646 if (!IsBackgroundTask() && m_pTrackerView) // // //
647 m_pTrackerView->PostMessageW(WM_USER_PLAYER, frame, row);
648}
649
650void CSoundGen::SetChannelMute(stChannelID chan, bool mute) { // // //
651 muted_[chan] = mute;

Callers 1

PlayerTickMethod · 0.80

Calls 2

FindAtMethod · 0.80
GetSongMethod · 0.80

Tested by

no test coverage detected