Example #1
0
// AnalysisWrote function as declared in https://xiph.org/vorbis/doc/libvorbis/vorbis_analysis_wrote.html
func AnalysisWrote(v *DspState, vals int32) int32 {
	cv, _ := v.PassRef()
	cvals, _ := (C.int)(vals), cgoAllocsUnknown
	__ret := C.vorbis_analysis_wrote(cv, cvals)
	__v := (int32)(__ret)
	return __v
}
Example #2
0
File: vorbis.go Project: grd/vorbis
func AnalysisWrote(v *DspState, vals int) int {
	return int(C.vorbis_analysis_wrote((*C.vorbis_dsp_state)(v), C.int(vals)))
}