Instance Property

preferredInputNumberOfChannels

The preferred number of input channels for the current route.

Declaration

var preferredInputNumberOfChannels: Int { get }

Discussion

The value of this property indicates the number of channels selected using the setPreferredInputNumberOfChannels(_:) method.

To determine the actual number of input channels, query the inputNumberOfChannels property.

See Also

Working with Audio Channels

var inputNumberOfChannels: Int

The number of audio input channels for the current route.

var maximumInputNumberOfChannels: Int

The maximum number of input channels available for the current audio route.

func setPreferredInputNumberOfChannels(Int)

Sets the preferred number of input channels for the current route.

var outputNumberOfChannels: Int

The number of audio output channels.

var maximumOutputNumberOfChannels: Int

The maximum number of output channels available for the current audio route.

var preferredOutputNumberOfChannels: Int

The preferred number of output channels for the current route.

func setPreferredOutputNumberOfChannels(Int)

Sets the preferred number of output channels for the current route.