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

Method AssignedSamples

Source/Instrument2A03.cpp:114–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114bool CInstrument2A03::AssignedSamples() const
115{
116 // Returns true if there are assigned samples in this instrument
117
118 for (int i = 0; i < NOTE_COUNT; ++i)
119 if (GetSampleIndex(i) != NO_DPCM)
120 return true;
121 return false;
122}
123
124std::shared_ptr<ft0cc::doc::dpcm_sample> CInstrument2A03::GetDSample(int MidiNote) const // // //
125{

Callers 1

SetCurrentInstrumentMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected