Browse Source

AU: Fixed a compiler error when using the legacy channel layout field

tags/2021-05-28
hogliux 8 years ago
parent
commit
dcfec9de3b
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm

+ 0
- 2
modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm View File

@@ -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<AudioChannelLayoutTag> ((int) kAudioChannelLayoutTag_DiscreteInOrder | ch));


Loading…
Cancel
Save