1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-22 01:34:21 +00:00

VST plugins: Removed old but flawed workaround for detecting offline mode

This commit is contained in:
jules 2015-12-01 14:42:49 +00:00
parent 31381c6864
commit 95d9cba7fc

View file

@ -564,12 +564,6 @@ public:
resume();
filter->setNonRealtime (getCurrentProcessLevel() == 4 /* kVstProcessLevelOffline */);
#if JUCE_WINDOWS
if (GetThreadPriority (GetCurrentThread()) <= THREAD_PRIORITY_NORMAL
&& GetThreadPriority (GetCurrentThread()) >= THREAD_PRIORITY_LOWEST)
filter->setNonRealtime (true);
#endif
}
#if JUCE_DEBUG && ! JucePlugin_ProducesMidiOutput