Beispiel #1
0
// AnalysisInit function as declared in https://xiph.org/vorbis/doc/libvorbis/vorbis_analysis_init.html
func AnalysisInit(v *DspState, vi *Info) int32 {
	cv, _ := v.PassRef()
	cvi, _ := vi.PassRef()
	__ret := C.vorbis_analysis_init(cv, cvi)
	__v := (int32)(__ret)
	return __v
}
Beispiel #2
0
func AnalysisInit(v *DspState, vi *Info) int {
	return int(C.vorbis_analysis_init((*C.vorbis_dsp_state)(v),
		(*C.vorbis_info)(vi)))
}