mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AU Client: Fix build problem when PreferredChannelConfigurations enabled
This commit is contained in:
parent
9f803fe88b
commit
77f5da93ac
1 changed files with 1 additions and 1 deletions
|
|
@ -2354,7 +2354,7 @@ private:
|
|||
#ifdef JucePlugin_PreferredChannelConfigurations
|
||||
const short configs[][2] = { JucePlugin_PreferredChannelConfigurations };
|
||||
if (AudioUnitHelpers::isLayoutSupported (*juceFilter, isInput, busNum, ch, configs))
|
||||
tags.addIfNotAlreadyThere (static_cast<AudioChannelLayoutTag> ((int) kAudioChannelLayoutTag_DiscreteInOrder | ch));
|
||||
tags.insert (static_cast<AudioChannelLayoutTag> ((int) kAudioChannelLayoutTag_DiscreteInOrder | ch));
|
||||
#else
|
||||
if (bus->isLayoutSupported (AudioChannelSet::discreteChannels (ch)))
|
||||
tags.insert (static_cast<AudioChannelLayoutTag> ((int) kAudioChannelLayoutTag_DiscreteInOrder | ch));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue