# AAX wrapper bug (number of steps)

**URL:** <https://forum.juce.com/t/aax-wrapper-bug-number-of-steps/32382>\
**Category:** Audio Plugins\
**Created:** [March 20, 2019, 10:01am UTC](https://forum.juce.com/t/aax-wrapper-bug-number-of-steps/32382 "2019-03-20T10:01:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![manu1](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@manu1](https://forum.juce.com/u/manu1)\
**Post date:** [March 20, 2019, 10:01am UTC](https://forum.juce.com/t/aax-wrapper-bug-number-of-steps/32382/1 "2019-03-20T10:01:31Z")

</div>

Please replace “jmax” by “jmin” in juce\_AAX\_Wrapper.cpp \> getSafeNumberOfParameterSteps() .

It makes all the parameters continuous with at least 2048 steps, and that breaks control surface support for on/off params.

Thanks.

---

<div class="post-metadata">

**Author:** ![t0m](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/t0m/32/16413_2.png) [@t0m](https://forum.juce.com/u/t0m)\
**Post date:** [March 20, 2019, 11:47am UTC](https://forum.juce.com/t/aax-wrapper-bug-number-of-steps/32382/2 "2019-03-20T11:47:34Z")

</div>

Ah yes - I’ll get that fixed.

Thank you for reporting.
