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

# init

Initializes an stereo pan control.

## Declaration

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

Return Value True on success.

## See Also

### Creating a stereo pan control

- [Create](videodriverkit/iouservideostereopancontrol/create.md)
- [IOUserVideoDriver](videodriverkit/iouservideodriver.md)
- [IOUserVideoObjectPropertyElement](videodriverkit/videodriverkit/iouservideoobjectpropertyelement.md)
- [IOUserVideoObjectPropertyScope](videodriverkit/videodriverkit/iouservideoobjectpropertyscope.md)
