// BitrateFlushpacket function as declared in https://xiph.org/vorbis/doc/libvorbis/vorbis_bitrate_flushpacket.html func BitrateFlushpacket(vd *DspState, op *OggPacket) int32 { cvd, _ := vd.PassRef() cop, _ := op.PassRef() __ret := C.vorbis_bitrate_flushpacket(cvd, cop) __v := (int32)(__ret) return __v }
func BitrateFlushPacket(vd *DspState, op *ogg.Packet) int { cp := fromPacket(op) ret := int(C.vorbis_bitrate_flushpacket((*C.vorbis_dsp_state)(vd), cp)) toPacket(op, cp) return ret }