PatMan: clear buffer for finished notes, fix #2991 (#2996)

This commit is contained in:
grejppi
2016-08-24 02:19:32 +03:00
committed by GitHub
parent c5cc89d691
commit 74b0454c0d

View File

@@ -156,6 +156,10 @@ void patmanInstrument::playNote( NotePlayHandle * _n,
instrumentTrack()->processAudioBuffer( _working_buffer,
frames + offset, _n );
}
else
{
memset( _working_buffer, 0, ( frames + offset ) * sizeof( sampleFrame ) );
}
}