示例#1
0
文件: vorbis.go 项目: grd/vorbis
func (p *Info) Init() {
	C.vorbis_info_init((*C.vorbis_info)(p))
}
示例#2
0
文件: vorbis.go 项目: xlab/vorbis-go
// InfoInit function as declared in https://xiph.org/vorbis/doc/libvorbis/vorbis_info_init.html
func InfoInit(vi *Info) {
	cvi, _ := vi.PassRef()
	C.vorbis_info_init(cvi)
}