---
title: channelAssignments
framework: avfaudio
role: symbol
role_heading: Instance Property
path: avfaudio/avaudiorecorder/channelassignments
---

# channelAssignments

An array of channel descriptions associated with the audio recorder.

## Declaration

```swift
var channelAssignments: [AVAudioSessionChannelDescription]? { get set }
```

## Mentioned in

Routing audio to specific devices in multidevice sessions

## Discussion

Discussion The default value of this property is nil. When the value is non-nil, this value must have the same number of channels as defined in the settings property for the AVNumberOfChannelsKey value. Use this property to help record specific audio channels.
