1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

VST3 Host: Avoid rebuilding parameter tree in refreshParameterList

The VST3 spec disallows adding/removing parameters at runtime.
As far as I can tell, there's no way for a plugin to signal to the host
that the unitIds of one or more parameters have changed, so I suspect
these are not allowed to change at runtime either.

Given this, I can't think of a good reason for refreshParameterList to
have any effect for VST3 plug-ins.
This commit is contained in:
reuk 2022-12-01 19:01:36 +00:00
parent d7f3ae4fc1
commit 54f5077eff
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -2386,7 +2386,7 @@ public:
auto configureParameters = [this]
{
refreshParameterList();
initialiseParameterList();
synchroniseStates();
syncProgramNames();
};
@ -3216,7 +3216,7 @@ private:
}
}
void refreshParameterList() override
void initialiseParameterList()
{
AudioProcessorParameterGroup newParameterTree;