[−][src]Function ffmpeg_dev::sys::av_get_channel_layout_channel_index
pub unsafe extern "C" fn av_get_channel_layout_channel_index(
channel_layout: u64,
channel: u64
) -> c_int
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.