Пример #1
0
// SynthesisRead function as declared in https://xiph.org/vorbis/doc/libvorbis/vorbis_synthesis_read.html
func SynthesisRead(v *DspState, samples int32) int32 {
	cv, _ := v.PassRef()
	csamples, _ := (C.int)(samples), cgoAllocsUnknown
	__ret := C.vorbis_synthesis_read(cv, csamples)
	__v := (int32)(__ret)
	return __v
}
Пример #2
0
func SynthesisRead(v *DspState, samples int) int {
	return int(C.vorbis_synthesis_read((*C.vorbis_dsp_state)(v), C.int(samples)))
}