Browse Source

Better mechanism for sending all-parameter-changed messages in AU hosting.

tags/2021-05-28
jules 11 years ago
parent
commit
78c2d48d9e
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm

+ 7
- 2
modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm View File

@@ -653,8 +653,13 @@ public:
void sendAllParametersChangedEvents()
{
for (int i = 0; i < parameters.size(); ++i)
sendParameterChangeEvent (i);
jassert (audioUnit != nullptr);
AudioUnitParameter param;
param.mAudioUnit = audioUnit;
param.mParameterID = kAUParameterListener_AnyParameter;
AUParameterListenerNotify (nullptr, nullptr, &param);
}
const String getParameterName (int index) override


Loading…
Cancel
Save