1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-18 00:54:19 +00:00

AU: Call refreshParameterList() when kAudioUnitProperty_ParameterList event is received

This commit is contained in:
ed 2019-10-21 11:37:24 +01:00
parent e7dbf60fed
commit 0da9ed11dc

View file

@ -1791,14 +1791,23 @@ private:
default:
if (event.mArgument.mProperty.mPropertyID == kAudioUnitProperty_ParameterList)
{
refreshParameterList();
updateHostDisplay();
}
else if (event.mArgument.mProperty.mPropertyID == kAudioUnitProperty_PresentPreset)
{
sendAllParametersChangedEvents();
}
else if (event.mArgument.mProperty.mPropertyID == kAudioUnitProperty_Latency)
{
updateLatency();
}
else if (event.mArgument.mProperty.mPropertyID == kAudioUnitProperty_BypassEffect)
{
if (bypassParam != nullptr)
bypassParam->setValueNotifyingHost (bypassParam->getValue());
}
break;
}