Function rsmpeg::ffi::av_get_extended_channel_layout[][src]

pub unsafe extern "C" fn av_get_extended_channel_layout(
    name: *const i8,
    channel_layout: *mut u64,
    nb_channels: *mut i32
) -> i32
Expand description

Return a channel layout and the number of channels based on the specified name.

This function is similar to (@see av_get_channel_layout), but can also parse unknown channel layout specifications.

@param[in] name channel layout specification string @param[out] channel_layout parsed channel layout (0 if unknown) @param[out] nb_channels number of channels

@return 0 on success, AVERROR(EINVAL) if the parsing fails.