From 595e2e29146289e9e2b0a24966866fd03d36b65a Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 24 Apr 2023 22:32:35 +0200 Subject: [PATCH] VST3: notify GUI when plugin parameter names change --- libs/ardour/vst3_plugin.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/ardour/vst3_plugin.cc b/libs/ardour/vst3_plugin.cc index cc1958b771..e9e3d9a374 100644 --- a/libs/ardour/vst3_plugin.cc +++ b/libs/ardour/vst3_plugin.cc @@ -1576,10 +1576,10 @@ VST3PI::restartComponent (int32 flags) p.normal = pi.defaultNormalizedValue; } } - // TODO notify GUI: - // * ProcessorEntry caches _controls - // * call RouteTimeAxisView::processors_changed - // invalidate Automatable::_controls ParameterDescriptor ? + Route* r = dynamic_cast (_owner); + if (r) { + r->processors_changed (RouteProcessorChange ()); /* EMIT SIGNAL */ + } } if (flags & Vst::kIoChanged) { warning << "VST3: Vst::kIoChanged (not implemented)" << endmsg;