---
title: SetPanningChannels
framework: VideoDriverKit
role: symbol
role_heading: Instance Method
platforms: [driverkit 27.0+]
path: videodriverkit/iouservideostereopancontrol/setpanningchannels
---

# SetPanningChannels

Sets the current stereo panning channels.

## Declaration

```occ
kern_return_t SetPanningChannels(IOUserVideoObjectPropertyElement in_left_channel, IOUserVideoObjectPropertyElement in_right_channel);
```

## Parameters

- `in_left_channel`: IOUserVideoObjectPropertyElement for the left channel
- `in_right_channel`: IOUserVideoObjectPropertyElement for the right channel

## Discussion

Discussion Changing the panning channels will send a notification to the host to update the object state if successful. The object’s work queue synchronizes access to the value.

## See Also

### Accessing the value

- [SetControlValue](videodriverkit/iouservideostereopancontrol/setcontrolvalue.md)
- [GetControlValue](videodriverkit/iouservideostereopancontrol/getcontrolvalue.md)
- [GetPanningChannels](videodriverkit/iouservideostereopancontrol/getpanningchannels.md)
