Serious issue with sample rate conversion.

The problem is that it does not work correctly here - I end up with audio and external midi instrument parts playing back correctly but VST instruments playing back faster than normal and out of tune.