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


#1

Hello,

 

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...

Thanks!

 


#2

See AudioProcessor::prepareToPlay


#3

thanks, this is exactly what I need.