Browse Source

AU: Call refreshParameterList() when kAudioUnitProperty_ParameterList event is received

tags/2021-05-28
ed 5 years ago
parent
commit
0da9ed11dc
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm

+ 9
- 0
modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm 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;
}


Loading…
Cancel
Save