// BlockInit function as declared in https://xiph.org/vorbis/doc/libvorbis/vorbis_block_init.html func BlockInit(v *DspState, vb *Block) int32 { cv, _ := v.PassRef() cvb, _ := vb.PassRef() __ret := C.vorbis_block_init(cv, cvb) __v := (int32)(__ret) return __v }
func (p *Block) Init(v *DspState) int { return int(C.vorbis_block_init((*C.vorbis_dsp_state)(v), (*C.vorbis_block)(p))) }