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:
parent
e7dbf60fed
commit
0da9ed11dc
1 changed files with 9 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue