<!--
{
  "availability" : [
    "DriverKit: 27.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoDriverKit",
  "identifier" : "/documentation/VideoDriverKit/IOUserVideoStereoPanControl/init",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "VideoDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserVideoStereoPanControl@F@init#*$@S@IOUserVideoDriver#b#f#i#i#i#$@N@VideoDriverKit@E@IOUserVideoObjectPropertyScope#$@N@VideoDriverKit@E@IOUserVideoClassID#"
  },
  "title" : "init"
}
-->

# init

Initializes an stereo pan control.

```
virtual bool init(IOUserVideoDriver *in_driver, bool in_is_settable, float in_control_value, IOUserVideoObjectPropertyElement in_left_channel, IOUserVideoObjectPropertyElement in_right_channel, IOUserVideoObjectPropertyElement in_control_element, IOUserVideoObjectPropertyScope in_control_scope, IOUserVideoClassID in_control_class_id);
```

## Parameters

`in_driver`

The video driver that owns this object.

`in_is_settable`

A Boolean value indicating whether the control value can be set.

`in_control_value`

The control’s current stereo pan value.

`in_left_channel`

The property element for the left channel.

`in_right_channel`

The property element for the right channel.

`in_control_element`

The property element for the control.

`in_control_scope`

The property scope for the control.

`in_control_class_id`

The class ID of the control.

## Return Value

true on success.

---

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)