1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

VST3 Client: Allow setting latency from inside prepareToPlay

This commit is contained in:
reuk 2021-10-06 13:06:48 +01:00
parent ca16bf44b8
commit 47dcc31e77
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -1264,8 +1264,10 @@ public:
if (details.nonParameterStateChanged)
flags |= pluginShouldBeMarkedDirtyFlag;
if (! inSetupProcessing)
componentRestarter.restart (flags);
if (inSetupProcessing)
flags &= Vst::kLatencyChanged;
componentRestarter.restart (flags);
}
//==============================================================================