1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-24 01:54:22 +00:00

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

This commit is contained in:
hogliux 2017-07-31 10:02:45 +01:00
parent 359af3f7b5
commit dcfec9de3b

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));