Back in the old VST2 days, we had the suspend/resume functions where we could reset our internal buffers. This was needed in cases such as jumping backward of forward from the middle of audible audio to a new location in the timeline, in order to not continue processing the audio from the previous location. I’m not sure what would replace that functionality, but possibly setProcessing(true/false)?
The problem I am having is with the auwrapper, though. It does not appear to call setProcessing except at initialization and cleanup times, not in cases such as jumping to a new location in the timeline. (Or simply starting or stopping the transport.)
How cab our auwrapper-based plug-ins reset their internal buffers in a case like this? What function do we have to implement (using the SingleComponentEffect, if it matters).