AddClockDevice
Adds an audio clock device to the audio box.
Declaration
kern_return_t AddClockDevice(IOUserAudioClockDevice *in_clock_device);Parameters
- in_clock_device:
The Iouseraudioclockdevice to associate with the box.
Return Value
kIOReturnSuccess on success, or another value if an error occurs. For a list of error codes, see Error Codes.
Discussion
The box doesn’t own the clock device.
If adding the clock device succeeds, the clock device’s reference count increments by one.