Question on prepareToPlay param change in newer version


#1

We are developing on JUCE 3.X version, in which AudioProcessor’s prepareToPlay method has a estimatedSamplesPerBlock parameter. According to document, this value is only a hint to actual size of processing block, which may be larger or smaller than this value.

Recently I read the source code of a project using newer version of JUCE, and I noticed new JUCE changed this parameter to maximumExpectedSamplesPerBlock, which changed the meaning. I want to know that:

  • Does JUCE changed the calling code to this function to made this parameter a maximum limit instead of a hint?
  • Or actually older version of JUCE is working in same way (it is named a hint, but actually a max value)?