---
title: GetPreferredChannelsForStereo
framework: audiodriverkit
role: symbol
role_heading: Instance Method
path: audiodriverkit/iouseraudiodevice/getpreferredchannelsforstereo
---

# GetPreferredChannelsForStereo

Returns the channel indices for the prefered stereo pair.

## Declaration

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

## Parameters

- `out_left_channel`: On return, the channel index for the left channel.
- `out_right_channel`: On return, the channel index for the right channel.

## See Also

### Working with Channel Layouts

- [SetPreferredChannelsForStereo](audiodriverkit/iouseraudiodevice/setpreferredchannelsforstereo.md)
- [SetPreferredInputChannelLayout](audiodriverkit/iouseraudiodevice/setpreferredinputchannellayout.md)
- [SetPreferredOutputChannelLayout](audiodriverkit/iouseraudiodevice/setpreferredoutputchannellayout.md)
- [IOUserAudioChannelLabel](audiodriverkit/audiodriverkit/iouseraudiochannellabel.md)
