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