---
title: "init(layout:)"
framework: avfaudio
role: symbol
role_heading: Initializer
path: "avfaudio/avaudiochannellayout/init(layout:)"
---

# init(layout:)

Creates an audio channel layout object from an existing one.

## Declaration

```swift
init(layout: UnsafePointer<AudioChannelLayout>)
```

## Parameters

- `layout`: The existing audio channel layout object.

## Return Value

Return Value A new AVAudioChannelLayout object.

## Discussion

Discussion If the audio channel layout object’s tag is kAudioChannelLayoutTag_UseChannelDescriptions, this initializer attempts to convert it to a more specific tag.

## See Also

### Related Documentation

- [layout](avfaudio/avaudiochannellayout/layout.md)

### Creating an Audio Channel Layout

- [init(layoutTag:)](avfaudio/avaudiochannellayout/init(layouttag:).md)
