From dcfec9de3bd1c17c080077cf81421e15e58387d4 Mon Sep 17 00:00:00 2001 From: hogliux Date: Mon, 31 Jul 2017 10:02:45 +0100 Subject: [PATCH] AU: Fixed a compiler error when using the legacy channel layout field --- modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm b/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm index 36d121d965..2ddffafefa 100644 --- a/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm +++ b/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm @@ -1919,8 +1919,6 @@ private: for (int ch = 0; ch < n; ++ch) { #ifdef JucePlugin_PreferredChannelConfigurations - ignoreUnused (layoutIndex, tag); - const short configs[][2] = { JucePlugin_PreferredChannelConfigurations }; if (AudioUnitHelpers::isLayoutSupported (*juceFilter, isInput, busNum, ch, configs)) tags.addIfNotAlreadyThere (static_cast ((int) kAudioChannelLayoutTag_DiscreteInOrder | ch));