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

Method GetChannelShortName

Source/SoundChipService.cpp:76–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76std::string_view CSoundChipService::GetChannelShortName(stChannelID ch) const {
77 for (auto &x : types_)
78 if (x.first == ch.Chip)
79 return x.second->GetChannelShortName(ch.Subindex);
80 throw std::invalid_argument {"Channel with given ID does not exist"};
81}
82
83std::string_view CSoundChipService::GetChannelFullName(stChannelID ch) const {
84 for (auto &x : types_)

Callers 1

DrawHeaderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected