Contents

IOUserAudioDriver

A DriverKit provider object that manages communications with an audio device.

Declaration

class IOUserAudioDriver;

Overview

For the Core Audio host to match against this driver, add the following keys to IOKitPersonalities, in the driver’s Info.plist file:

 <key>IOUserAudioDriverUserClientProperties</key>
 <dict>
     <key>IOClass</key>
     <string>IOUserUserClient</string>
     <key>IOUserClass</key>
     <string>IOUserAudioDriverUserClient</string>
 </dict>

After matching the host with the driver, the AudioDriverKit framework creates the connection to the Core Audio HAL as soon as the IOService calls NewUserClient. The driver extension must have the com.apple.developer.driverkit.allow-any-userclient-access entitlement.

Topics

Running the Driver Service

Getting Information About the Class

Getting the Driver’s Audio Object Identifier

Starting and Stopping the Driver

Creating a New Client

Working with Transport Type

Working with Audio Objects

Communicating with the Host

Working with Custom Properties

See Also

Essentials