init(layout:)
Creates an audio channel layout object from an existing one.
Declaration
init(layout: UnsafePointer<AudioChannelLayout>)Parameters
- layout:
The existing audio channel layout object.
Return Value
A new AVAudioChannelLayout object.
Discussion
If the audio channel layout object’s tag is kAudioChannelLayoutTag_UseChannelDescriptions, this initializer attempts to convert it to a more specific tag.