Contents

RemoveStream

Removes an audio stream from the device.

Declaration

kern_return_t RemoveStream(IOUserAudioStream *in_stream);

Parameters

  • in_stream:

    The stream to remove from the device.

Return Value

kIOReturnSuccess on success, or another value if an error occurs. For a list of error codes, see Error Codes.

Discussion

If removing the stream succeeds, the stream’s reference count decrements by one.

See Also

Working with Audio Streams