Contents

setState

Indicates that the audio engine is in the specified state.

Declaration

virtual IOAudioEngineState setState(
 IOAudioEngineStatenewState);

Parameters

  • newState:

    The state the audio engine is in.

Return Value

Returns the old state.

Overview

This method simply sets the internal state of the audio engine to the specified state. It does not affect a change to the state. It does however keep other internal state-related attributes consistent. For example, it enables or disables the timer as needed when the state changes to running or stopped.

See Also

Miscellaneous