Esempio n. 1
0
// SynthesisPcmout function as declared in https://xiph.org/vorbis/doc/libvorbis/vorbis_synthesis_pcmout.html
func SynthesisPcmout(v *DspState, pcm [][][]float32) int32 {
	cv, _ := v.PassRef()
	cpcm, _ := unpackArgSSSFloat32(pcm)
	__ret := C.vorbis_synthesis_pcmout(cv, cpcm)
	packSSSFloat32(pcm, cpcm)
	__v := (int32)(__ret)
	return __v
}
Esempio n. 2
0
File: vorbis.go Progetto: grd/vorbis
func SynthesisPcmout(v *DspState, pcm ***float32) int {
	return int(C.vorbis_synthesis_pcmout((*C.vorbis_dsp_state)(v), (***C.float)(unsafe.Pointer(pcm))))
}