// //
| 1341 | |
| 1342 | // // // |
| 1343 | void 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 | |
| 1351 | unsigned int CFamiTrackerView::GetSelectedFrame() const |
| 1352 | { |
no test coverage detected