Browse Source

Re-added a WaveLab workaround in the VST wrapper

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

+ 10
- 0
modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp View File

@@ -509,6 +509,16 @@ public:
resume();
filter->setNonRealtime (getCurrentProcessLevel() == 4 /* kVstProcessLevelOffline */);
#if JUCE_WINDOWS
if (getHostType().isWavelab())
{
int priority = GetThreadPriority (GetCurrentThread());
if (priority <= THREAD_PRIORITY_NORMAL && priority >= THREAD_PRIORITY_LOWEST)
filter->setNonRealtime (true);
}
#endif
}
#if JUCE_DEBUG && ! JucePlugin_ProducesMidiOutput


Loading…
Cancel
Save