RemoveDevice
Removes an audio device from the audio box.
Declaration
kern_return_t RemoveDevice(IOUserAudioDevice *in_device);Parameters
- in_device:
The Iouseraudiodevice to disassociate from the box.
Return Value
kIOReturnSuccess on success, or another value if an error occurs. For a list of error codes, see Error Codes.
Discussion
If removing the device succeeds, the device’s reference count decrements by one.