示例#1
0
文件: vorbis.go 项目: grd/vorbis
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
}
示例#2
0
文件: vorbis.go 项目: xlab/vorbis-go
// 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
}