mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +00:00
VST3 Host: Update host parameter values when only plugin AudioProcessor reports changes
This commit is contained in:
parent
13c2ba2dcc
commit
604e090372
1 changed files with 6 additions and 3 deletions
|
|
@ -2225,7 +2225,7 @@ public:
|
|||
for (const auto* item : queues)
|
||||
{
|
||||
auto* ptr = item->ptr.get();
|
||||
callback (ptr->getParameterIndex(), ptr->get());
|
||||
callback (ptr->getParameterIndex(), ptr->getParameterId(), ptr->get());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2734,9 +2734,12 @@ public:
|
|||
|
||||
processor->process (data);
|
||||
|
||||
outputParameterChanges->forEach ([&] (Steinberg::int32 index, float value)
|
||||
outputParameterChanges->forEach ([&] (Steinberg::int32 index, Vst::ParamID id, float value)
|
||||
{
|
||||
parameterDispatcher.push (index, value);
|
||||
cachedParamValues.setWithoutNotifying (index, value);
|
||||
|
||||
if (auto* param = getParameterForID (id))
|
||||
param->setValueWithoutUpdatingProcessor (value);
|
||||
});
|
||||
|
||||
midiMessages.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue