In my plug-in I need to reset some state right before offline rendering starts. So for instance in AAX when user clicks “Preview” or “Process” I’d like t execute some code.
I was assuming that
juce::AudioProcessor::prepareToPlay()
could be used for that but at least in Pro Tools that’s not the case. It’s only called once when the host initiates the plug-in and not prior to rendering.
I couldn’t find anything in the docs or on the forum, so any ideas are highly appreciated.
Thanks!