<!--
{
  "availability" : [
    "DriverKit: 21.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioDriverKit",
  "identifier" : "/documentation/AudioDriverKit/IOUserAudioBox/init",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AudioDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOUserAudioBox@F@init#*$@S@IOUserAudioDriver#b#*$@S@OSString#"
  },
  "title" : "init"
}
-->

# init

Initializes an instance of the audio box class.

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

## Parameters

`in_driver`

The [`IOUserAudioDriver`](/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

`true` if initialization succeeded; `false` otherwise.

## Discussion

Always pass in the [`IOUserAudioDriver`](/documentation/AudioDriverKit/IOUserAudioDriver) and arguments. The no-argument ``IOUserAudioBox/init```()`always returns`false`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)