Instance Property

channels

An array of channel objects that describe the port’s input or output channels.

Declaration

var channels: [AVAudioSessionChannelDescription]? { get }

Discussion

An array of AVAudioSessionChannelDescription objects, each of which represents a single audio input or output channel. The contents of this array may change if the input or output channel count is changed for the AVAudioSession object owning the port.

See Also

Getting the Port Attributes

var portName: String

A descriptive name for the port.

var uid: String

A system-assigned unique identifier (UID) for the port.

var hasHardwareVoiceCallProcessing: Bool

Indicates if the associated hardware port has built-in processing for two-way voice communication.