| 327 | } |
| 328 | |
| 329 | void 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 | |
| 337 | bool CSoundGen::IsRunning() const |
| 338 | { |
no test coverage detected