Skip to content

Commit

Permalink
Fix sfxr buffer noise (#3883)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhysSong authored and zonkmachine committed Oct 16, 2017
1 parent 2930ef6 commit eaa7b0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/sfxr/sfxr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit eaa7b0d

Please sign in to comment.