mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Small VST hosting fix.
This commit is contained in:
parent
49729815eb
commit
552d4b392c
1 changed files with 2 additions and 2 deletions
|
|
@ -939,8 +939,6 @@ void VSTPluginInstance::prepareToPlay (double rate, int samplesPerBlockExpected)
|
|||
{
|
||||
setPlayConfigDetails (effect->numInputs, effect->numOutputs, rate, samplesPerBlockExpected);
|
||||
|
||||
setLatencySamples (effect->initialDelay);
|
||||
|
||||
vstHostTime.tempo = 120.0;
|
||||
vstHostTime.timeSigNumerator = 4;
|
||||
vstHostTime.timeSigDenominator = 4;
|
||||
|
|
@ -979,6 +977,8 @@ void VSTPluginInstance::prepareToPlay (double rate, int samplesPerBlockExpected)
|
|||
}
|
||||
|
||||
dispatch (effStartProcess, 0, 0, 0, 0);
|
||||
|
||||
setLatencySamples (effect->initialDelay);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue