---
title: maximumChannelCount
framework: audiotoolbox
role: symbol
role_heading: Instance Property
path: audiotoolbox/auaudiounitbus/maximumchannelcount
---

# maximumChannelCount

The maximum number of channels supported for this bus.

## Declaration

```swift
var maximumChannelCount: AUAudioChannelCount { get set }
```

## Discussion

Discussion If the value of supportedChannelCounts is set, then this value is derived from it. If setting a new value on this property makes the current bus format unsupported, then the value of format is set to nil. The default value is UINT_MAX.

## See Also

### Audio Unit Implementations

- [init(format:)](audiotoolbox/auaudiounitbus/init(format:).md)
- [supportedChannelCounts](audiotoolbox/auaudiounitbus/supportedchannelcounts.md)
