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

Method RecallChannelState

Source/SoundGen.cpp:672–681  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

670}
671
672std::string CSoundGen::RecallChannelState(stChannelID Channel) const // // //
673{
674 if (IsPlaying())
675 return m_pSoundDriver->GetChannelStateString(Channel);
676
677 auto [Frame, Row] = m_pTrackerView->GetSelectedPos();
678 CSongState state;
679 state.Retrieve(*m_pModule, GetPlayerTrack(), Frame, Row);
680 return state.GetChannelStateString(*m_pModule, Channel);
681}
682
683void CSoundGen::HaltPlayer() {
684 // Called from player thread

Callers 1

OnRecallChannelStateMethod · 0.80

Calls 3

GetSelectedPosMethod · 0.80
RetrieveMethod · 0.80
GetChannelStateStringMethod · 0.45

Tested by

no test coverage detected