Browse Source

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

tags/2021-05-28
jules 10 years ago
parent
commit
95d9cba7fc
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp

+ 0
- 6
modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp 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


Loading…
Cancel
Save