From b8b232cfab5ae7f247ffa61c7a38238d41a9455a Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 2 Nov 2020 01:58:05 +0100 Subject: [PATCH] VST3: query latency when plugin is activated regardless of Vst::kLatencyChanged --- libs/ardour/vst3_plugin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/vst3_plugin.cc b/libs/ardour/vst3_plugin.cc index 02cc696c57..2e95ab2c33 100644 --- a/libs/ardour/vst3_plugin.cc +++ b/libs/ardour/vst3_plugin.cc @@ -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; }