Пример #1
0
// InfoBlocksize function as declared in https://xiph.org/vorbis/doc/libvorbis/vorbis_info_blocksize.html
func InfoBlocksize(vi *Info, zo int32) int32 {
	cvi, _ := vi.PassRef()
	czo, _ := (C.int)(zo), cgoAllocsUnknown
	__ret := C.vorbis_info_blocksize(cvi, czo)
	__v := (int32)(__ret)
	return __v
}
Пример #2
0
func (p *Info) BlockSize(zo int16) int16 {
	return int16(C.vorbis_info_blocksize((*C.vorbis_info)(p), C.int(zo)))
}