We have a VST3 host, and I am not sure about exactly what steps to take during handling kLatencyChanged notification. The documentation indicates that the plugin must be deactivated and reactivated.
Here are the questions:
Does deactivation and reactivation simply mean calling IComponent::setActive() with false and then with true, or does this also require calling IAudioProcessor::setProcessing() with false and then with true?
If we need to also call setProcessing() - what should be the order?
Should we take precautions as to prevent any IAudioProcessor::process() calls from being called while this deactivation/reactivation takes place?