From c0b4e575d9489b63aeb01974aa74a979e6079820 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 7 Oct 2020 17:49:55 +0200 Subject: [PATCH] VST3: add support for hiding parameters --- libs/ardour/vst3_plugin.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/ardour/vst3_plugin.cc b/libs/ardour/vst3_plugin.cc index 39ce623c53..45a230df6a 100644 --- a/libs/ardour/vst3_plugin.cc +++ b/libs/ardour/vst3_plugin.cc @@ -1044,6 +1044,10 @@ VST3PI::VST3PI (boost::shared_ptr m, std::string uniqu p.read_only = 0 != (pi.flags & Vst::ParameterInfo::kIsReadOnly); p.automatable = 0 != (pi.flags & Vst::ParameterInfo::kCanAutomate); + if (pi.flags & /*Vst::ParameterInfo::kIsHidden*/ (1<<4)) { + p.label = X_("hidden"); + } + uint32_t idx = _ctrl_params.size (); _ctrl_params.push_back (p);