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

# SetControlValue

Sets the current control value.

## Declaration

```occ
kern_return_t SetControlValue(float in_control_value);
```

## Parameters

- `in_control_value`: Float stereo pan value.

## Discussion

Discussion Changing the control value 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

- [GetControlValue](videodriverkit/iouservideostereopancontrol/getcontrolvalue.md)
- [SetPanningChannels](videodriverkit/iouservideostereopancontrol/setpanningchannels.md)
- [GetPanningChannels](videodriverkit/iouservideostereopancontrol/getpanningchannels.md)
