AAX wrapper weirdness in 5.2


#1

Have an issue with Pro Tools since updating to JUCE 5.2

When the plugin is initialized and I’ve successfully loaded a preset internally in my code, I’m then getting a stream of setParameter calls coming from the wrapper via UpdateParameterNormalizedValue, with the passed ‘value’ always set to ‘0.0f’. Any help much appreciated!

AAX_Result UpdateParameterNormalizedValue (AAX_CParamID paramID, double value, AAX_EUpdateSource source) override {
AAX_Result result = AAX_CEffectParameters::UpdateParameterNormalizedValue (paramID, value, source);
if (! isBypassParam (paramID))pluginInstance->setParameter (getParamIndexFromID (paramID), (float) value);
return result;
}