Contents

SetTerminalType

Sets the terminal type of the stream.

Declaration

kern_return_t SetTerminalType(IOUserAudioStreamTerminalType in_terminal_type);

Parameters

Return Value

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

Discussion

If successful, changing the available formats sends a notification to the host to update the object state.

See Also

Working with Stream Terminals