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

Method AddDSample

Source/InstrumentManager.cpp:277–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277int CInstrumentManager::AddDSample(std::shared_ptr<ft0cc::doc::dpcm_sample> pSamp)
278{
279 int Index = m_pDSampleManager->GetFirstFree();
280 if (Index != -1)
281 SetDSample(Index, std::move(pSamp));
282 return Index;
283}

Callers 1

DoReadFromFTIMethod · 0.80

Calls 1

GetFirstFreeMethod · 0.45

Tested by

no test coverage detected