跳到主要内容

av_get_audio_frame_duration

搜索

函数 av_get_audio_frame_duration 

源代码
pub unsafe extern "C" fn av_get_audio_frame_duration(
    avctx: *mut AVCodecContext,
    frame_bytes: c_int,
) -> c_int
展开描述

Return audio frame duration.

@param avctx codec context @param frame_bytes size of the frame, or 0 if unknown @return frame duration, in samples, if known. 0 if not able to determine.