Fix output preview

This commit is contained in:
cam900 2022-10-22 16:57:01 +09:00
parent f839b0771c
commit 69090232fb
2 changed files with 6 additions and 1 deletions

View file

@ -222,6 +222,7 @@ void es5505_core::voice_t::fetch(u8 voice, u8 cycle)
void es5505_core::voice_t::tick(u8 voice)
{
m_output[0] = m_output[1] = 0;
m_ch.reset();
// Filter execute
@ -293,6 +294,8 @@ void es5505_core::voice_t::reset()
m_lvol = 0;
m_rvol = 0;
m_ch.reset();
m_mute = false;
m_output[0] = m_output[1] = 0;
}
// Accessors

View file

@ -287,6 +287,7 @@ void es5506_core::voice_t::fetch(u8 voice, u8 cycle)
void es5506_core::voice_t::tick(u8 voice)
{
m_output[0] = m_output[1] = 0;
m_ch.reset();
// Filter execute
@ -412,7 +413,8 @@ void es5506_core::voice_t::reset()
m_k1ramp.reset();
m_filtcount = 0;
m_ch.reset();
m_mute = false;
m_mute = false;
m_output[0] = m_output[1] = 0;
}
// Accessors