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