I’ve searched all existing threads on this I can find, but I’m having trouble with this specific method. It doesn’t seem to work, at least in Cubase 8 and the latest Reaper (my primary test platforms.) In Cubase, it doesn’t return
true until after a bounce has completed. In Reaper, it always returns
false (I’ve even tried putting a debug string inside a timer loop to test this.)
I am trying to provide a high quality offline render mode for my users (as I’ve seen in several other plugins), but it can’t work unless the plugin can accurately detect when a render is happening. I am calling
isNonRealtime() from the
Happy JUCE user since 2010. Thanks for any insight you guys can provide!
PS - I should add: this is on Windows and the plugin in question is built to the VST 2.4 spec for maximum compatibility. I will test AU and AAX as well, but ideally this should work for the ~80% of folks out there on Windows VST hosts.