Calling AudioProcessorParameter::setValueNotifyingHost() without notifying listeners?


I’m using an AudioProcessorValueTreeState object to handle the AudioProcessorParameter’s within my plugin, using AudioProcessorValueTreeState::Listener::parameterChanged() to find out when the host has changed any of the parameters (so I can update the plugin UI), and calling AudioProcessorParameter::setValueNotifyingHost() when my UI needs to change the value of the parameters (so I can update the host).

However calling setValueNotifyingHost() in turn call’s parameterChanged(), which is not ideal (as this will cause a message ‘bounce back’ in my case). Is there any way of notifying the host of parameter changes without notifying the parameter listener?



I’m afraid there’s no convenient way of doing that.