Contents

kAudioFormatProperty_NumberOfChannelsForLayout

The number of valid channels.

Declaration

var kAudioFormatProperty_NumberOfChannelsForLayout: AudioFormatPropertyID { get }

Discussion

The number of valid channels represented in an AudioChannelLayout structure. Set the inSpecifier parameter to the AudioChannelLayout structure you want to examine. If the layout tag is specified, the value contains the number of channels for that layout. If the bitmap is specified, the value contains the number of channels represented by that bitmap. If the layout tag is kAudioChannelLayoutTag_UseChannelDescriptions, the value contains the number of channel descriptions.

See Also

Constants