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