addUserClientAction
IOCommandGate Action which calls addUserClient() while holding the IOCommandGate.
Declaration
static IOReturn addUserClientAction(
OSObject *owner,
void *arg1,
void *arg2,
void *arg3,
void *arg4);Parameters
- owner:
The owner of the IOCommandGate (the IOAudioControl in this case).
- arg1:
The IOAudioControlUserClient to be added.
Return Value
Returns the result of addUserClient() - kIOReturnSuccess on success.
Overview
This is needed to allow addUserClient() to be called on the IOWorkLoop.
See Also
Miscellaneous
addUserClientclientClosedcreateUserClient(task_t, void *, UInt32, IOAudioControlUserClient **)createUserClient(task_t, void *, UInt32, IOAudioControlUserClient **, OSDictionary *)detachUserClientsActionflushValuefreegetChannelIDgetCommandGategetControlIDgetIsStartedgetValuegetWorkLoophardwareValueChangedinitnewUserClientperformValueChangeremoveUserClientremoveUserClientActionsendValueChangeNotificationsetChannelIDsetChannelNamesetControlIDsetPropertiessetReadOnlyFlagsetSubType(UInt32)setType(UInt32)setUsagesetValuesetValueActionstartstopupdateValuevalidateValuewithAttributes