completePowerStateChangeAction
IOCommandGate Action which calls protectedCompletePowerStateChange() while holding the IOCommandGate.
Declaration
static IOReturn completePowerStateChangeAction(
OSObject *owner,
void *arg1,
void *arg2,
void *arg3,
void *arg4);Parameters
- owner:
The owner of the IOCommandGate (the IOAudioDevice in this case)
Return Value
Returns the result of protectedCompletePowerStateChange()
Overview
This is needed to allow protectedCompletePowerStateChange() to be called on the IOWorkLoop.
See Also
Miscellaneous
activateAudioEngine(IOAudioEngine *)activateAudioEngine(IOAudioEngine *, bool)addTimerEventattachAudioPortaudioEngineStartingaudioEngineStoppedcompletePowerStateChangedeactivateAllAudioEnginesdetachAllAudioPortsdispatchTimerEventsflushAudioControlsfreegetCommandGategetPendingPowerStategetPowerStategetWorkLoopinitinitHardwareinitiatePowerStateChangeperformPowerStateChangeprotectedCompletePowerStateChangeprotectedSetPowerStateremoveAllTimerEventsremoveTimerEventsetConfigurationApplicationBundlesetDeviceCanBeDefaultsetDeviceNamesetDeviceShortNamesetFamilyManagePowersetIdleAudioSleepTimesetManufacturerNamesetPowerStatesetPowerStateActionstartstoptimerFiredwaitForPendingPowerStateChange