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

# GetPreferredChannelsForStereo

Gets the channel indices for the preferred stereo pair.

## Declaration

```occ
void GetPreferredChannelsForStereo(uint32_t *out_left_channel, uint32_t *out_right_channel);
```

## Parameters

- `out_left_channel`: Pointer to a uint32_t channel index for the preferred stereo left channel.
- `out_right_channel`: Pointer to a uint32_t channel index for the preferred stereo right channel.

## See Also

### Working with channel layouts

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