A few reallocations that could be avoided


I think that the second argument (i.e avoidReallocating) of AudioBuffer::makeCopyOf() should be used to avoid unnecessary reallocations in the audio thread (when numSamples varies) in the double-float buffer conversion code of :

SynthesiserVoice::renderNextBlock (AudioBuffer<double>& outputBuffer, int startSample, int numSamples)

ProcessBufferOp::callProcess (AudioBuffer<double>& buffer, MidiBuffer& midiMessages) (in juce_AudioProcessorGraph.cpp)



I’ve pushed this change to develop, thanks!