<!--
{
  "availability" : [
    "DriverKit: 27.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoDriverKit",
  "identifier" : "/documentation/VideoDriverKit/IOUserVideoDevice/GetPreferredChannelsForStereo",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "VideoDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserVideoDevice@F@GetPreferredChannelsForStereo#*i#S0_#"
  },
  "title" : "GetPreferredChannelsForStereo"
}
-->

# GetPreferredChannelsForStereo

Gets the channel indices for the preferred stereo pair.

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)