Browse Source

Windows: Restricted the thread safe Studio One hang fix to only non-realtime cases

tags/2021-05-28
Tom Poole 6 years ago
parent
commit
6b7a870f0b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_audio_processors/processors/juce_AudioProcessorGraph.cpp

+ 1
- 1
modules/juce_audio_processors/processors/juce_AudioProcessorGraph.cpp View File

@@ -1246,7 +1246,7 @@ void AudioProcessorGraph::prepareToPlay (double sampleRate, int estimatedSamples
setRateAndBufferSizeDetails (sampleRate, estimatedSamplesPerBlock);
clearRenderingSequence();
if (MessageManager::getInstance()->isThisTheMessageThread())
if (isNonRealtime() && MessageManager::getInstance()->isThisTheMessageThread())
handleAsyncUpdate();
else
triggerAsyncUpdate();


Loading…
Cancel
Save