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

Method GetTrack

Source/SongData.cpp:48–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48CTrackData *CSongData::GetTrack(stChannelID chan) { // // //
49 if (chan.Chip != sound_chip_t::none)
50 if (auto it = tracks_.find(chan); it != tracks_.end())
51 return std::addressof(it->second);
52 return nullptr;
53}
54
55const CTrackData *CSongData::GetTrack(stChannelID chan) const {
56 return const_cast<CSongData *>(this)->GetTrack(chan);

Callers 4

CopyTrackMethod · 0.45
ScanSongMethod · 0.45
IsPatternAddressedMethod · 0.45
ImportFileMethod · 0.45

Calls 1

endMethod · 0.45

Tested by

no test coverage detected