# Question on prepareToPlay param change in newer version

**URL:** <https://forum.juce.com/t/question-on-preparetoplay-param-change-in-newer-version/29616>\
**Category:** Audio Plugins\
**Created:** [September 26, 2018, 10:52am UTC](https://forum.juce.com/t/question-on-preparetoplay-param-change-in-newer-version/29616 "2018-09-26T10:52:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jiandingzhe](https://avatars.discourse-cdn.com/v4/letter/j/e79b87/32.png) [@jiandingzhe](https://forum.juce.com/u/jiandingzhe)\
**Post date:** [September 26, 2018, 10:52am UTC](https://forum.juce.com/t/question-on-preparetoplay-param-change-in-newer-version/29616/1 "2018-09-26T10:52:51Z")

</div>

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)?
