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

Method GetPlayerPos

Source/SoundGen.cpp:1259–1263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1257}
1258
1259std::pair<unsigned, unsigned> CSoundGen::GetPlayerPos() const { // // //
1260 if (const auto &cursor = m_pSoundDriver->GetPlayerCursor())
1261 return std::make_pair(cursor->GetCurrentFrame(), cursor->GetCurrentRow());
1262 return std::make_pair(0, 0);
1263}
1264
1265int CSoundGen::GetPlayerTrack() const
1266{

Callers 4

CursorUpdatedMethod · 0.80
DrawFrameEditorMethod · 0.80
NeedUpdateMethod · 0.80
PeriodicUpdateMethod · 0.80

Calls 3

GetCurrentRowMethod · 0.80
GetPlayerCursorMethod · 0.45
GetCurrentFrameMethod · 0.45

Tested by

no test coverage detected