Example #1
0
//Return audio frame duration.
func (ctxt *Context) AvGetAudioFrameDuration(f int) int {
	return int(C.av_get_audio_frame_duration((*C.struct_AVCodecContext)(ctxt), C.int(f)))
}
Example #2
0
//Return audio frame duration.
//int 	av_get_audio_frame_duration (AVCodecContext *avctx, int frame_bytes)
func Av_get_audio_frame_duration(ctxt *AVCodecContext, f int) int {
	return int(C.av_get_audio_frame_duration((*C.struct_AVCodecContext)(ctxt), C.int(f)))
}