Browse Source

Fix bad property id when registering AU event listener

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

+ 0
- 1
modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm View File

@@ -1072,7 +1072,6 @@ private:
event.mEventType = kAudioUnitEvent_PropertyChange;
event.mArgument.mProperty.mPropertyID = type;
event.mArgument.mProperty.mAudioUnit = audioUnit;
event.mArgument.mProperty.mPropertyID = kAudioUnitProperty_PresentPreset;
event.mArgument.mProperty.mScope = kAudioUnitScope_Global;
event.mArgument.mProperty.mElement = 0;
AUEventListenerAddEventType (eventListenerRef, nullptr, &event);


Loading…
Cancel
Save