Exemple #1
0
// Synthesis function as declared in https://xiph.org/vorbis/doc/libvorbis/vorbis_synthesis.html
func Synthesis(vb *Block, op *OggPacket) int32 {
	cvb, _ := vb.PassRef()
	cop, _ := op.PassRef()
	__ret := C.vorbis_synthesis(cvb, cop)
	__v := (int32)(__ret)
	return __v
}
Exemple #2
0
func Synthesis(vb *Block, op *ogg.Packet) int {
	cp := fromPacket(op)
	ret := int(C.vorbis_synthesis((*C.vorbis_block)(vb), cp))
	toPacket(op, cp)
	return ret
}