Beispiel #1
0
// CommentheaderOut function as declared in https://xiph.org/vorbis/doc/libvorbis/vorbis_commentheader_out.html
func CommentheaderOut(vc *Comment, op *OggPacket) int32 {
	cvc, _ := vc.PassRef()
	cop, _ := op.PassRef()
	__ret := C.vorbis_commentheader_out(cvc, cop)
	__v := (int32)(__ret)
	return __v
}
Beispiel #2
0
func (p *Comment) HeaderOut(op *ogg.Packet) int {
	cp := fromPacket(op)
	ret := C.vorbis_commentheader_out((*C.vorbis_comment)(p), cp)
	toPacket(op, cp)
	return int(ret)
}