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

Method PlayerPlayNote

Source/FamiTrackerView.cpp:1343–1349  ·  view source on GitHub ↗

// //

Source from the content-addressed store, hash-verified

1341
1342// // //
1343void CFamiTrackerView::PlayerPlayNote(stChannelID Channel, const stChanNote &pNote)
1344{
1345 // Callback from sound thread
1346 if (m_bSwitchToInstrument && pNote.Instrument < MAX_INSTRUMENTS && pNote.Note != note_t::none &&
1347 GetSongView()->GetChannelOrder().GetChannelIndex(Channel) == GetSelectedChannel())
1348 m_iSwitchToInstrument = pNote.Instrument;
1349}
1350
1351unsigned int CFamiTrackerView::GetSelectedFrame() const
1352{

Callers 1

OnPlayNoteMethod · 0.80

Calls 1

GetChannelIndexMethod · 0.80

Tested by

no test coverage detected