pub unsafe extern "C" fn av_channel_layout_describe(
channel_layout: *const AVChannelLayout,
buf: *mut i8,
buf_size: usize,
) -> i32
Expand description
Get a human-readable string describing the channel layout properties. The string will be in the same format that is accepted by @ref av_channel_layout_from_string(), allowing to rebuild the same channel layout, except for opaque pointers.
@param channel_layout channel layout to be described @param buf pre-allocated buffer where to put the generated string @param buf_size size in bytes of the buffer. @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.