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:
parent
31381c6864
commit
95d9cba7fc
1 changed files with 0 additions and 6 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue