Instance Property

supportedChannelCounts

An array of numbers indicating the supported number of channels for this bus.

Declaration

var supportedChannelCounts: [NSNumber]? { get set }

Discussion

If the value of this property is nil, then any number less than or equal to the value of maximumChannelCount is supported. 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 nil.

See Also

Audio Unit Implementations

init(format: AVAudioFormat)

Initializes a bus object with a specific format.

var maximumChannelCount: AUAudioChannelCount

The maximum number of channels supported for this bus.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software