We use the VST3SDK to develop a panner plug-in. In the AudioEffect::process interface, we use the following method to determine whether sampling points are continuous:
Record the value of the last data.processContext->projectTimeSamples + data.numSamples. The value of the newly received projectTimeSamples must be the same as the value of the projectTimeSamples parameter. Otherwise, frame loss occurs and services are suspended.
This judgment is accurate in most scenarios.
However, on some machines (Cubase12+MACOS11+i3), if you open the Safari browser during rendering, there is a high probability that the process sample is lost. Is this the judgment method incorrect? Or is Cubase12 having problems scheduling the plug-in when CPU usage is high?
We look forward to your reply. Thanks.