Skip to content

Commit

Permalink
Added clear to FoleysSynth to fix VST3 edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
ffAudio committed Jul 27, 2023
1 parent 3fbadce commit a113c60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Examples/FoleysSynth/Source/PluginProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ void FoleysSynthAudioProcessor::processBlock (juce::AudioBuffer<float>& buffer,
{
juce::ScopedNoDenormals noDenormals;

buffer.clear();

// MAGIC GUI: send midi messages to the keyboard state and MidiLearn
magicState.processMidiBuffer (midiMessages, buffer.getNumSamples(), true);

Expand Down

0 comments on commit a113c60

Please sign in to comment.