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

Method GetSelectedSample

Source/InstrumentEditorDPCM.cpp:444–447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442}
443
444std::shared_ptr<const ft0cc::doc::dpcm_sample> CInstrumentEditorDPCM::GetSelectedSample() { // // //
445 int Index = GetSelectedSampleIndex(); // // //
446 return Index != -1 ? GetDSampleManager()->GetDSample(Index) : nullptr;
447}
448
449void CInstrumentEditorDPCM::SetSelectedSample(std::shared_ptr<ft0cc::doc::dpcm_sample> pSample) const // // //
450{

Callers

nothing calls this directly

Calls 1

GetDSampleMethod · 0.45

Tested by

no test coverage detected