Contents

addAudioStream

Adds an IOAudioStream to the audio engine.

Declaration

virtual IOReturn addAudioStream(
 IOAudioStream *stream);

Parameters

  • stream:

    The IOAudioStream to be added.

Return Value

Returns kIOReturnSuccess if the stream was successfully added.

Overview

This function is called by the driver to add an IOAudioStream to the audio engine. This must be called at least once to make sure the audio engine has at least one IOAudioStream.

See Also

Miscellaneous