Well this isn't exactly a complete answer, but this was solved by calculating the delta time in resume().
void VSTTest::resume(void) {
fDeltaTime = 1.0 / getSampleRate();
}
I'm not sure why this needs to be done or how it solves the problem, but it does. Also, I should note that fDeltaTime
should not be initialized in the constructor since there's no guarantee getSampleRate()
is correct at that time.