SetPreferredOutputChannelLayout
Sets the output channel layout, using an array of audio channel label values.
Declaration
kern_return_t SetPreferredOutputChannelLayout(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_labelsarray.
Return Value
kIOReturnSuccess on success, or another value if an error occurs. For a list of error codes, see Error Codes.