#include <IOKit/audio/IOAudioDevice.h>

IOKit/audio/IOAudioDevice.h Kernel.framework

@header IOAudioDevice
1 enum · 1 typedef

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.
underlying type unsigned int
kIOAudioDeviceSleep0When sleeping
kIOAudioDeviceIdle1When no audio engines running
kIOAudioDeviceActive2audio engines running

typedefIOAudioDevicePowerState

typedef enum _IOAudioDevicePowerState IOAudioDevicePowerState;