Does anyone have any idea regarding the origin of this "dodgy hack" or an example case of where it's needed to initialize sampling rate?
https://github.com/julianstorer/JUCE/blob/master/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp#L960
This caused an issue with a VST I was working with. I tweaked the VST to circumvent the problem but now I'm curious. It seems like there'd be a way to force sample rate without tweaking parameters, but without a test case where things aren't initialized properly I can't investigate further.