init
Initializes an instance of the audio box class.
Declaration
virtual bool init(IOUserAudioDriver *in_driver, bool in_is_acquirable, OSString *in_box_uid);Parameters
- in_driver:
The Iouseraudiodriver that owns this object.
- in_is_acquirable:
A Boolean value that specifies if the box supports being acquired.
- in_box_uid:
The name of the box, as an Osstring.
Return Value
true if initialization succeeded; false otherwise.
Discussion
Always pass in the IOUserAudioDriver and arguments. The no-argument ``IOUserAudioBox/init```()always returnsfalse`.