---
title: init
framework: audiodriverkit
role: symbol
role_heading: Instance Method
path: audiodriverkit/iouseraudiobox/init
---

# init

Initializes an instance of the audio box class.

## Declaration

```occ
virtual bool init(IOUserAudioDriver *in_driver, bool in_is_acquirable, OSString *in_box_uid);
```

## Parameters

- `in_driver`: The doc://com.apple.audiodriverkit/documentation/AudioDriverKit/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 doc://com.apple.documentation/documentation/DriverKit/OSString.

## Return Value

Return Value true if initialization succeeded; false otherwise.

## Discussion

Discussion Always pass in the IOUserAudioDriver and arguments. The no-argument ``IOUserAudioBox/init```()always returnsfalse`.

## See Also

### Creating an Audio Box

- [Create](audiodriverkit/iouseraudiobox/create.md)
- [IOUserAudioDriver](audiodriverkit/iouseraudiodriver.md)
