From which threads is APVTS::Listener called now?

I was reading this thread where it’s stated that APVTS::Listener::parameterChanged is called from setValue, so it can come from any thread. This has changed since this commit -now parameterChanged is called from APVTS::ParameterAdapter::parameterValueChanged. I’ve been trying to find where/when this is called and I’m lost. Is it still true that APVTS::Listener is called synchronously on automation, or now it’s only called on the message thread?

The semantics are the same. parameterValueChanged overrides the listener callback from AudioProcessorParameter::Listener, which may be called from the audio thread or the message thread.

2 Likes