Function av_get_bytes_per_sample

Source
pub unsafe extern "C" fn av_get_bytes_per_sample(
    sample_fmt: AVSampleFormat,
) -> c_int
Expand description

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