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

Method CancelPreviewSample

Source/SoundGen.cpp:329–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329void CSoundGen::CancelPreviewSample()
330{
331 // Remove references to selected sample.
332 // This must be done if a sample is about to be deleted!
333 if (auto *p2A03 = dynamic_cast<C2A03 *>(m_pAPU->GetSoundChip(sound_chip_t::APU))) // // //
334 p2A03->ClearSample();
335}
336
337bool CSoundGen::IsRunning() const
338{

Callers 3

OnBnClickedCancelMethod · 0.80
OnBnClickedDeleteMethod · 0.80
OnBnClickedUnloadMethod · 0.80

Calls 2

ClearSampleMethod · 0.80
GetSoundChipMethod · 0.45

Tested by

no test coverage detected