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

VST3 Host: Ensure that program parameter is updated in response to program change requests

This commit is contained in:
reuk 2021-09-06 14:50:08 +01:00
parent b2a51eb253
commit 4f5c559ce2
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -2802,7 +2802,7 @@ public:
auto value = static_cast<Vst::ParamValue> (program) / static_cast<Vst::ParamValue> (jmax (1, programNames.size() - 1));
if (auto* param = getParameterForID (programParameterID))
param->setValue ((float) value);
param->setValueNotifyingHost ((float) value);
}
}