Contents

init

Initialize a newly created instance of IOAudioDevice.

Declaration

virtual bool init(
 OSDictionary *properties);

Parameters

  • properties:

    An OSDictionary of the device properties that gets passed to super::init and set in the IORegistry.

Return Value

true if initialization was successful

Overview

This implementation initializes all of the data structures and variables used by the IOAudioDevice. The currentPowerState and pendingPowerState variables are set to kIOAudioDeviceIdle. A subclass that overrides this method must call the superclass' implementation.

See Also

Miscellaneous