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:
parent
ca16bf44b8
commit
47dcc31e77
1 changed files with 4 additions and 2 deletions
|
|
@ -1264,8 +1264,10 @@ public:
|
||||||
if (details.nonParameterStateChanged)
|
if (details.nonParameterStateChanged)
|
||||||
flags |= pluginShouldBeMarkedDirtyFlag;
|
flags |= pluginShouldBeMarkedDirtyFlag;
|
||||||
|
|
||||||
if (! inSetupProcessing)
|
if (inSetupProcessing)
|
||||||
componentRestarter.restart (flags);
|
flags &= Vst::kLatencyChanged;
|
||||||
|
|
||||||
|
componentRestarter.restart (flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue