跳到主要内容

av_get_bytes_per_sample

搜索

函数 av_get_bytes_per_sample 

源代码
pub unsafe extern "C" fn av_get_bytes_per_sample(
    sample_fmt: AVSampleFormat,
) -> c_int
展开描述

Return number of bytes per sample.

@param sample_fmt the sample format @return number of bytes per sample or zero if unknown for the given sample format