Exemple #1
0
func SynthesisHeaderIn(vi *Info, vc *Comment, op *ogg.Packet) int {
	cp := fromPacket(op)
	ret := int(C.vorbis_synthesis_headerin((*C.vorbis_info)(vi),
		(*C.vorbis_comment)(vc), cp))
	toPacket(op, cp)
	return ret
}
Exemple #2
0
// SynthesisHeaderin function as declared in https://xiph.org/vorbis/doc/libvorbis/vorbis_synthesis_headerin.html
func SynthesisHeaderin(vi *Info, vc *Comment, op *OggPacket) int32 {
	cvi, _ := vi.PassRef()
	cvc, _ := vc.PassRef()
	cop, _ := op.PassRef()
	__ret := C.vorbis_synthesis_headerin(cvi, cvc, cop)
	__v := (int32)(__ret)
	return __v
}