Function rsmpeg::ffi::av_get_channel_layout_channel_index[][src]

pub unsafe extern "C" fn av_get_channel_layout_channel_index(
    channel_layout: u64,
    channel: u64
) -> i32
Expand description

Get the index of a channel in channel_layout.

@param channel a channel layout describing exactly one channel which must be present in channel_layout.

@return index of channel in channel_layout on success, a negative AVERROR on error.