func SynthesisHalfrate(v *Info, flag bool) int { var cflag C.int if flag == true { cflag = 1 } return int(C.vorbis_synthesis_halfrate((*C.vorbis_info)(v), cflag)) }
// SynthesisHalfrate function as declared in https://xiph.org/vorbis/doc/libvorbis/vorbis_synthesis_halfrate.html func SynthesisHalfrate(v *Info, flag int32) int32 { cv, _ := v.PassRef() cflag, _ := (C.int)(flag), cgoAllocsUnknown __ret := C.vorbis_synthesis_halfrate(cv, cflag) __v := (int32)(__ret) return __v }