For a long time I left this method unimplemented but recently I started passing through the time info from the DAW that my plugin is hosted in to a plugin that my plugin is hosting. I do this so that the hosted plugin has access to the midi clock for sequencing.
But, I just remembered that this was causing crashes. I was getting a crash, and sure enough, when I return a new VstTimeInfo, it works fine.
Some more info is that actually it doesn't disturb my plugin when the transport is not running, but on about the 3rd or 4th loop, Ableton comes down. The funny thing is that the sound gets more distorted on every loop. It's a sine wave at first, and becomes
something more like a sawtooth until Ableton crashes.
Any thoughts on what I should be doing? Or, what I might be doing wrong. This is the offending code:
public core.VstTimeInfo GetTimeInfo(core.VstTimeInfoFlags filterFlags)