Function av_channel_description

Source
pub unsafe extern "C" fn av_channel_description(
    buf: *mut i8,
    buf_size: usize,
    channel: i32,
) -> i32
Expand description

Get a human readable string describing a given channel.

@param buf pre-allocated buffer where to put the generated string @param buf_size size in bytes of the buffer. @param channel the AVChannel whose description to get @return amount of bytes needed to hold the output string, or a negative AVERROR on failure. If the returned value is bigger than buf_size, then the string was truncated.