Preferred way to find the max value of numSamples from PluginProcessor.cpp




I need to know the max value of numSamples that PluginProcessor::processBlock will receive.

What is the prefered way to know this value ?

There is a getDefaultBufferSize() but I do not know how to get the current AudioIODevice...




See AudioProcessor::prepareToPlay


thanks, this is exactly what I need.