mirror of
https://github.com/yokemura/Magical8bitPlug2.git
synced 2025-05-24 23:00:21 -04:00
Clear the buffer passed to processBlock
This commit is contained in:
parent
b2f6f4f1b8
commit
4b5f431816
@ -300,6 +300,7 @@ bool Magical8bitPlug2AudioProcessor::isBusesLayoutSupported (const BusesLayout&
|
||||
|
||||
void Magical8bitPlug2AudioProcessor::processBlock (AudioBuffer<float>& buffer, MidiBuffer& midiMessages)
|
||||
{
|
||||
buffer.clear();
|
||||
synth.renderNextBlock (buffer, midiMessages, 0, buffer.getNumSamples());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user