Contents

SetPreferredInputChannelLayout

Sets the input channel layout, using an array of audio channel label values.

Declaration

kern_return_t SetPreferredInputChannelLayout(IOUserAudioChannelLabel *in_channel_labels, size_t in_num_channels);

Parameters

  • in_channel_labels:

    An array of Iouseraudiochannellabel values.

  • in_num_channels:

    The number of items in the in_channel_labels array.

Return Value

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

See Also

Working with Channel Layouts