Browse Source

Windows: Added a more thread safe fix for the Studio One hang

tags/2021-05-28
Tom Poole 7 years ago
parent
commit
b7fbdd7009
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 (isNonRealtime())
if (MessageManager::getInstance()->isThisTheMessageThread())
handleAsyncUpdate();
else
triggerAsyncUpdate();


Loading…
Cancel
Save