kAudioUnitProperty_SupportedChannelLayoutTags
A read-only array on AudioChannelLayoutTag structures, valid on the audio unit input and output scopes.
Declaration
var kAudioUnitProperty_SupportedChannelLayoutTags: AudioUnitPropertyID { get }Discussion
Used with GetProperty to ascertain what an audio unit understands about laying out of channel orders. This will typically return one or more of the specified layout tags.
When a specific set of layouts are returned, the client then uses the kAudioUnitProperty_AudioChannelLayout property (with one of those layout tags specified) to set the unit to use that layout. In this case the client (and the audio unit when reporting its AudioChannelLayout) is only expected to have set an AudioChannelLayout which only sets the layout tag as the valid field.
Some audio units may return the tag kAudioChannelLayoutTag_UseChannelDescriptions. This indicates a custom channel map.
In this case, the host then can look at supported number of channels on that scope (using the kAudioUnitProperty_SupportedNumChannels), and supply an AudioChannelLayout with the kAudioUnitProperty_AudioChannelLayout property to specify the layout, number of channels and location of each of those channels. This custom channel map MUST have a channel valence that is supported by the Audio Unit.
The UseChannelBitmap field is NOT used within the context of the AudioUnit.
See Also
Properties
kAudioUnitProperty_ElementCountkAudioUnitProperty_SupportedNumChannelskAudioUnitProperty_AudioChannelLayoutkAudioUnitProperty_AudioUnitMIDIProtocolkAudioUnitProperty_AUHostIdentifierkAudioUnitProperty_BypassEffectkAudioUnitProperty_ClassInfokAudioUnitProperty_ClassInfoFromDocumentkAudioUnitProperty_CocoaUIkAudioUnitProperty_ContextNamekAudioUnitProperty_CPULoadkAudioUnitProperty_DependentParameterskAudioUnitProperty_ElementNamekAudioUnitProperty_FactoryPresetskAudioUnitProperty_FastDispatch