Contents

RemoveObject

Removes an audio object from the driver.

Declaration

kern_return_t RemoveObject(IOUserAudioObject *in_object);

Parameters

Return Value

kIOReturnSuccess on success, or another value if an error occurs. For a list of error codes, see Error Codes.

Discussion

If the remove succeeds, the object’s reference count decrements by one. The caller should also call PropertiesChanged to notify the host of any changes.

See Also

Working with Audio Objects