---
title: SetPreferredOutputChannelLayout
framework: VideoDriverKit
role: symbol
role_heading: Instance Method
platforms: [driverkit 27.0+]
path: videodriverkit/iouservideodevice/setpreferredoutputchannellayout
---

# SetPreferredOutputChannelLayout

Sets the output channel layout.

## Declaration

```occ
kern_return_t SetPreferredOutputChannelLayout(IOUserVideoChannelLabel *in_channel_labels, size_t in_num_channels);
```

## Parameters

- `in_channel_labels`: An array of channel labels.
- `in_num_channels`: The number of items in the array.

## See Also

### Working with channel layouts

- [SetPreferredChannelsForStereo](videodriverkit/iouservideodevice/setpreferredchannelsforstereo.md)
- [GetPreferredChannelsForStereo](videodriverkit/iouservideodevice/getpreferredchannelsforstereo.md)
- [SetPreferredInputChannelLayout](videodriverkit/iouservideodevice/setpreferredinputchannellayout.md)
- [IOUserVideoChannelLabel](videodriverkit/videodriverkit/iouservideochannellabel.md)
