| 843 | } |
| 844 | |
| 845 | stDPCMState CSoundGen::GetDPCMState() const |
| 846 | { |
| 847 | if (m_pAPU) // // // |
| 848 | if (auto *p2A03 = dynamic_cast<C2A03 *>(m_pAPU->GetSoundChip(sound_chip_t::APU))) // // // |
| 849 | return {p2A03->GetSamplePos(), p2A03->GetDeltaCounter()}; |
| 850 | return { }; |
| 851 | } |
| 852 | |
| 853 | int CSoundGen::GetChannelNote(stChannelID chan) const { // // // |
| 854 | return m_pSoundDriver ? m_pSoundDriver->GetChannelNote(chan) : -1; |
no test coverage detected