# AudioUnitPluginInstance doesn't support the new AudioProcessorParameter style

**URL:** <https://forum.juce.com/t/audiounitplugininstance-doesnt-support-the-new-audioprocessorparameter-style/17090>\
**Category:** Audio Plugins\
**Created:** [April 5, 2016, 7:38am UTC](https://forum.juce.com/t/audiounitplugininstance-doesnt-support-the-new-audioprocessorparameter-style/17090 "2016-04-05T07:38:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![basteln](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@basteln](https://forum.juce.com/u/basteln)\
**Post date:** [April 5, 2016, 7:38am UTC](https://forum.juce.com/t/audiounitplugininstance-doesnt-support-the-new-audioprocessorparameter-style/17090/1 "2016-04-05T07:38:52Z")

</div>

When I create an Audio **Unit** PluginInstance to host an AU plugin, I tried to call&nbsp;getParameters() on that instance to get the list of parameters. The list was empty although the AU (Apple DLS Device) has parameters. Looking into the source, it calls&nbsp;AudioProcessor::getParameters, but&nbsp;_managedParameters_ is empty.&nbsp;

So what's missing (I think) is in AudioUnitPluginInstance::refreshParameterList, call addParameter() for every parameter in the Audio Unit. Or is AudioProcessor::getParameters only supposed to be called from inside&nbsp;the AudioProcessor itself?

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [April 5, 2016, 8:48am UTC](https://forum.juce.com/t/audiounitplugininstance-doesnt-support-the-new-audioprocessorparameter-style/17090/2 "2016-04-05T08:48:01Z")

</div>

Yeah, we haven't added full support for parameter objects in the plugin hosting side yet, only for creating plugins. Will add it soon!

---

<div class="post-metadata">

**Author:** ![basteln](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@basteln](https://forum.juce.com/u/basteln)\
**Post date:** [April 5, 2016, 11:47am UTC](https://forum.juce.com/t/audiounitplugininstance-doesnt-support-the-new-audioprocessorparameter-style/17090/3 "2016-04-05T11:47:04Z")

</div>

Thanks for the reply! It would be great to have this in the documentation because it can take some debugging to get to the root of it, but for now I can just use the old-style parameter API with getNumParameters etc. :)
