Contents

init

Initializes an stereo pan control.

Declaration

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.

See Also

Creating a stereo pan control