Пример #1
0
// SynthesisLapout function as declared in https://xiph.org/vorbis/doc/libvorbis/vorbis_synthesis_lapout.html
func SynthesisLapout(v *DspState, pcm ***float32) int32 {
	cv, _ := v.PassRef()
	cpcm, _ := (***C.float)(unsafe.Pointer(pcm)), cgoAllocsUnknown
	__ret := C.vorbis_synthesis_lapout(cv, cpcm)
	__v := (int32)(__ret)
	return __v
}
Пример #2
0
func SynthesisLapOut(v *DspState, pcm ***float32) int {
	return int(C.vorbis_synthesis_lapout((*C.vorbis_dsp_state)(v), (***C.float)(unsafe.Pointer(pcm))))
}