mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AU Client: Check explicit channel layouts all the way up to 16 ins/outs
AUs are more likely to have 16 channels on a bus now that the 9.1.6 Atmos layout is available.
This commit is contained in:
parent
5eadaf75be
commit
e1e3697931
1 changed files with 4 additions and 1 deletions
|
|
@ -373,7 +373,10 @@ struct AudioUnitHelpers
|
|||
}
|
||||
|
||||
auto layout = processor.getBusesLayout();
|
||||
auto maxNumChanToCheckFor = 9;
|
||||
|
||||
// The 'standard' layout with the most channels defined is AudioChannelSet::create9point1point6().
|
||||
// This value should be updated if larger standard channel layouts are added in the future.
|
||||
constexpr auto maxNumChanToCheckFor = 16;
|
||||
|
||||
auto defaultInputs = processor.getChannelCountOfBus (true, 0);
|
||||
auto defaultOutputs = processor.getChannelCountOfBus (false, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue