Fix sfxr buffer noise (#3883)
This commit is contained in:
committed by
Oskar Wallgren
parent
2930ef69cd
commit
eaa7b0dd7c
@@ -464,6 +464,7 @@ void sfxrInstrument::playNote( NotePlayHandle * _n, sampleFrame * _working_buffe
|
||||
}
|
||||
else if( static_cast<SfxrSynth*>(_n->m_pluginData)->isPlaying() == false )
|
||||
{
|
||||
memset(_working_buffer + offset, 0, sizeof(sampleFrame) * frameNum);
|
||||
_n->noteOff();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user