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