Contents

Create

Allocates and initializes an instance of the level control class.

Declaration

static OSSharedPtr<IOUserAudioLevelControl> Create(IOUserAudioDriver *in_driver, bool in_is_settable, float in_decibel_value, IOUserAudioLevelControlRange in_decibel_range, IOUserAudioObjectPropertyElement in_control_element, IOUserAudioObjectPropertyScope in_control_scope, IOUserAudioClassID in_control_class_id);

Parameters

Return Value

A poiner to an IOUserAudioLevelControl, if allocation and initialization succeeded.

Discussion

If you subclass IOUserAudioLevelControl to override this class’ behavior, don’t use Create to allocate and initialize the custom subclass.

See Also

Creating a Level Control