#include <IOKit/audio/IOAudioDevice.h>
IOKit/audio/IOAudioDevice.h
@header IOAudioDevice
enum_IOAudioDevicePowerState
@enum IOAudioDevicePowerState
@abstract Identifies the power state of the audio device
@discussion A newly created IOAudioDevices defaults to the idle state.
@constant kIOAudioDeviceSleep State set when the system is going to sleep
@constant kIOAudioDeviceIdle State when the system is awake but none of the IOAudioEngines are in use
@constant kIOAudioDeviceActive State when one ore more IOAudioEngines are in use. This state transition must complete before the system will begin playing audio.
| kIOAudioDeviceSleep | 0 | When sleeping |
| kIOAudioDeviceIdle | 1 | When no audio engines running |
| kIOAudioDeviceActive | 2 | audio engines running |
typedefIOAudioDevicePowerState
typedef enum _IOAudioDevicePowerState IOAudioDevicePowerState;