VST3: notify GUI when plugin parameter names change

This commit is contained in:
Robin Gareus 2023-04-24 22:32:35 +02:00
parent 82447431f4
commit 595e2e2914
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 4 additions and 4 deletions

View File

@ -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<Route*> (_owner);
if (r) {
r->processors_changed (RouteProcessorChange ()); /* EMIT SIGNAL */
}
}
if (flags & Vst::kIoChanged) {
warning << "VST3: Vst::kIoChanged (not implemented)" << endmsg;