init
Initializes an instance of a custom property.
Declaration
virtual bool init(IOUserAudioDriver *in_audio_driver, IOUserAudioObjectPropertyAddress in_prop_addr, bool in_is_property_settable, IOUserAudioCustomPropertyDataType in_qualifier_data_type, IOUserAudioCustomPropertyDataType in_data_type);Parameters
- in_audio_driver:
The Iouseraudiodriver that owns this object.
- in_prop_addr:
The Iouseraudioobjectpropertyaddress of the custom property.
- in_is_property_settable:
A Boolean value that indicates if the property can be set.
- in_qualifier_data_type:
The Iouseraudiocustompropertydatatype for custom property’s qualifier data value.
- in_data_type:
The Iouseraudiocustompropertydatatype for custom property’s data value.This value can’t be
IOUserAudioCustomPropertyDataType::None.
Return Value
true if initialization succeeded; false otherwise.