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

Method SetSelectedSample

Source/InstrumentEditorDPCM.cpp:449–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

447}
448
449void CInstrumentEditorDPCM::SetSelectedSample(std::shared_ptr<ft0cc::doc::dpcm_sample> pSample) const // // //
450{
451 if (int Index = GetSelectedSampleIndex(); Index != -1) // // //
452 GetDSampleManager()->SetDSample(Index, std::move(pSample));
453}
454
455void CInstrumentEditorDPCM::OnBnClickedSave()
456{

Callers

nothing calls this directly

Calls 1

SetDSampleMethod · 0.45

Tested by

no test coverage detected