13
0

VST3: query latency when plugin is activated regardless of Vst::kLatencyChanged

This commit is contained in:
Robin Gareus 2020-11-02 01:58:05 +01:00
parent 8ab62937ca
commit b8b232cfab
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1352,7 +1352,6 @@ VST3PI::restartComponent (int32 flags)
/* need to re-activate the plugin as per spec */
deactivate ();
activate ();
_plugin_latency.reset ();
}
if (flags & Vst::kIoChanged) {
warning << "VST3: Vst::kIoChanged (not implemented)" << endmsg;
@ -1494,6 +1493,7 @@ VST3PI::activate ()
return false;
}
_plugin_latency.reset ();
_is_processing = true;
return true;
}