mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Re-added a WaveLab workaround in the VST wrapper
This commit is contained in:
parent
be3acc9768
commit
e1205ec36c
1 changed files with 10 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue