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

Method GetDSample

Source/DSampleManager.cpp:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32std::shared_ptr<ft0cc::doc::dpcm_sample> CDSampleManager::GetDSample(unsigned Index)
33{
34 return Index < m_pDSample.size() ? m_pDSample[Index] : nullptr;
35}
36
37std::shared_ptr<ft0cc::doc::dpcm_sample> CDSampleManager::ReleaseDSample(unsigned Index) {
38 return Index < m_pDSample.size() ? std::move(m_pDSample[Index]) : nullptr;

Callers 14

StoreSamplesMethod · 0.45
DoWriteToFTIMethod · 0.45
DoReadFromFTIMethod · 0.45
to_jsonFunction · 0.45
SaveDSamplesMethod · 0.45
ExportFileMethod · 0.45
UpdateKeyMethod · 0.45
BuildSampleListMethod · 0.45
GetSelectedSampleMethod · 0.45
OnBnClickedSaveMethod · 0.45
OnBnClickedEditMethod · 0.45
OnNMRClickTableMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected