Пример #1
0
//Return the PCM codec associated with a sample format.
func AvGetPcmCodec(f AvSampleFormat, b int) CodecId {
	return (CodecId)(C.av_get_pcm_codec((C.enum_AVSampleFormat)(f), C.int(b)))
}
Пример #2
0
//Return the PCM codec associated with a sample format.
//enum AVCodecID 	av_get_pcm_codec (enum AVSampleFormat fmt, int be)
func Av_get_pcm_codec(f AVSampleFormat, b int) AVCodecID {
	return (AVCodecID)(C.av_get_pcm_codec((C.enum_AVSampleFormat)(f), C.int(b)))
}