Hi!
I was wondering, if with VST 2.4 there is a reliable way to detect, if the host is playing in real-time or bouncing/rendering offline?
I know the function "isNonRealtime()". But in my case it does not seem to work. It allways returns true, regardless of the mode.
As I understand it, the host should set the real-time condition by calling "setNonRealtime". In Juce you find this function in "processReplacing" and "resume" of juce_VST_Wrapper. I did some debugging. In my case, with Sonar 8, the resume() function is never called by the host. ProcessReplacing() is called, but setNonRealtime() is part of an if-clause, that never is true, and thus never gets executed there either.
Is this a problem with Sonar 8, or am I doing something wrong?
Note: I am not using the latest Juce version, still on Juce 2.x.