package vendor:vorbis

⌘K
Ctrl+K
or
/

    Index

    Variables (0)

    This section is empty.

    Procedures (42)
    Procedure Groups (0)

    This section is empty.

    Types

    alloc_chain ¶

    alloc_chain :: struct {
    	ptr:  rawptr,
    	next: ^alloc_chain,
    }

    ovectl_ratemanage2_arg ¶

    ovectl_ratemanage2_arg :: struct {
    	management_active:            i32,
    	bitrate_limit_min_kbps:       i64,
    	bitrate_limit_max_kbps:       i64,
    	bitrate_limit_reservoir_bits: i64,
    	bitrate_limit_reservoir_bias: f64,
    	bitrate_average_kbps:         i64,
    	bitrate_average_damping:      f64,
    }

    ovectl_ratemanage_arg ¶

    ovectl_ratemanage_arg :: struct {
    	management_active:        i32,
    	bitrate_hard_min:         i64,
    	bitrate_hard_max:         i64,
    	bitrate_hard_window:      f64,
    	bitrate_av_lo:            i64,
    	bitrate_av_hi:            i64,
    	bitrate_av_window:        f64,
    	bitrate_av_window_center: f64,
    }

    vorbis_block ¶

    vorbis_block :: struct {
    	pcm:        ^^f32,
    	opb:        ogg.oggpack_buffer,
    	lW:         i64,
    	W:          i64,
    	nW:         i64,
    	pcmend:     i32,
    	mode:       i32,
    	eofflag:    i32,
    	granulepos: i64,
    	sequence:   i64,
    	vd:         ^vorbis_dsp_state,
    	localstore: rawptr,
    	localtop:   i64,
    	localalloc: i64,
    	totaluse:   i64,
    	reap:       ^alloc_chain,
    	glue_bits:  i64,
    	time_bits:  i64,
    	floor_bits: i64,
    	res_bits:   i64,
    	internal:   rawptr,
    }
    Related Procedures With Parameters

    vorbis_dsp_state ¶

    vorbis_dsp_state :: struct {
    	analysisp:      i32,
    	vi:             ^vorbis_info,
    	pcm:            ^^f32,
    	pcmret:         ^^f32,
    	pcm_storage:    i32,
    	pcm_current:    i32,
    	pcm_returned:   i32,
    	preextrapolate: i32,
    	eofflag:        i32,
    	lW:             i64,
    	W:              i64,
    	nW:             i64,
    	centerW:        i64,
    	granulepos:     i64,
    	sequence:       i64,
    	glue_bits:      i64,
    	time_bits:      i64,
    	floor_bits:     i64,
    	res_bits:       i64,
    	backend_state:  rawptr,
    }
    Related Procedures With Parameters

    Constants

    OV_EBADHEADER ¶

    OV_EBADHEADER: int : -133
    OV_EBADLINK: int : -137

    OV_EBADPACKET ¶

    OV_EBADPACKET: int : -136

    OV_ECTL_COUPLING_GET ¶

    OV_ECTL_COUPLING_GET: int : 0x40

    OV_ECTL_COUPLING_SET ¶

    OV_ECTL_COUPLING_SET: int : 0x41

    OV_ECTL_IBLOCK_GET ¶

    OV_ECTL_IBLOCK_GET: int : 0x30

    OV_ECTL_IBLOCK_SET ¶

    OV_ECTL_IBLOCK_SET: int : 0x31

    OV_ECTL_LOWPASS_GET ¶

    OV_ECTL_LOWPASS_GET: int : 0x20

    OV_ECTL_LOWPASS_SET ¶

    OV_ECTL_LOWPASS_SET: int : 0x21

    OV_ECTL_RATEMANAGE2_GET ¶

    OV_ECTL_RATEMANAGE2_GET: int : 0x14

    OV_ECTL_RATEMANAGE2_SET ¶

    OV_ECTL_RATEMANAGE2_SET: int : 0x15

    OV_ECTL_RATEMANAGE_AVG ¶

    OV_ECTL_RATEMANAGE_AVG: int : 0x12

    OV_ECTL_RATEMANAGE_GET ¶

    OV_ECTL_RATEMANAGE_GET: int : 0x10
     

    Original C macro definitions converted to Odin constants

    OV_ECTL_RATEMANAGE_HARD ¶

    OV_ECTL_RATEMANAGE_HARD: int : 0x13

    OV_ECTL_RATEMANAGE_SET ¶

    OV_ECTL_RATEMANAGE_SET: int : 0x11

    OV_EFAULT ¶

    OV_EFAULT: int : -129

    OV_EIMPL ¶

    OV_EIMPL: int : -130

    OV_EINVAL ¶

    OV_EINVAL: int : -131

    OV_ENOSEEK ¶

    OV_ENOSEEK: int : -138

    OV_ENOTAUDIO ¶

    OV_ENOTAUDIO: int : -135

    OV_ENOTVORBIS ¶

    OV_ENOTVORBIS: int : -132

    OV_EOF ¶

    OV_EOF: int : -2

    OV_EREAD ¶

    OV_EREAD: int : -128

    OV_EVERSION ¶

    OV_EVERSION: int : -134

    OV_FALSE ¶

    OV_FALSE: int : -1
     

    Error codes

    OV_HOLE ¶

    OV_HOLE: int : -3

    Variables

    This section is empty.

    Procedures

    vorbis_analysis ¶

    vorbis_analysis :: proc "c" (vb: ^vorbis_block, op: ^ogg.ogg_packet) -> i32 ---

    vorbis_analysis_blockout ¶

    vorbis_analysis_blockout :: proc "c" (v: ^vorbis_dsp_state, vb: ^vorbis_block) -> i32 ---

    vorbis_analysis_buffer ¶

    vorbis_analysis_buffer :: proc "c" (v: ^vorbis_dsp_state, vals: i32) -> ^^f32 ---

    vorbis_analysis_headerout ¶

    vorbis_analysis_headerout :: proc "c" (v: ^vorbis_dsp_state, vc: ^vorbis_comment, op: ^ogg.ogg_packet, op_comm: ^ogg.ogg_packet, op_code: ^ogg.ogg_packet) -> i32 ---

    vorbis_analysis_init ¶

    vorbis_analysis_init :: proc "c" (v: ^vorbis_dsp_state, vi: ^vorbis_info) -> i32 ---
     

    Analysis layer

    vorbis_analysis_wrote ¶

    vorbis_analysis_wrote :: proc "c" (v: ^vorbis_dsp_state, vals: i32) -> i32 ---

    vorbis_bitrate_addblock ¶

    vorbis_bitrate_addblock :: proc "c" (vb: ^vorbis_block) -> i32 ---

    vorbis_bitrate_flushpacket ¶

    vorbis_bitrate_flushpacket :: proc "c" (vd: ^vorbis_dsp_state, op: ^ogg.ogg_packet) -> i32 ---

    vorbis_block_clear ¶

    vorbis_block_clear :: proc "c" (vb: ^vorbis_block) -> i32 ---

    vorbis_block_init ¶

    vorbis_block_init :: proc "c" (v: ^vorbis_dsp_state, vb: ^vorbis_block) -> i32 ---

    vorbis_comment_add ¶

    vorbis_comment_add :: proc "c" (vc: ^vorbis_comment, comment: cstring) ---

    vorbis_comment_add_tag ¶

    vorbis_comment_add_tag :: proc "c" (vc: ^vorbis_comment, tag: cstring, contents: cstring) ---

    vorbis_comment_clear ¶

    vorbis_comment_clear :: proc "c" (vc: ^vorbis_comment) ---

    vorbis_comment_init ¶

    vorbis_comment_init :: proc "c" (vc: ^vorbis_comment) ---

    vorbis_comment_query ¶

    vorbis_comment_query :: proc "c" (vc: ^vorbis_comment, tag: cstring, count: i32) -> cstring ---

    vorbis_comment_query_count ¶

    vorbis_comment_query_count :: proc "c" (vc: ^vorbis_comment, tag: cstring) -> i32 ---

    vorbis_commentheader_out ¶

    vorbis_commentheader_out :: proc "c" (vc: ^vorbis_comment, op: ^ogg.ogg_packet) -> i32 ---

    vorbis_dsp_clear ¶

    vorbis_dsp_clear :: proc "c" (v: ^vorbis_dsp_state) ---

    vorbis_encode_ctl ¶

    vorbis_encode_ctl :: proc "c" (vi: ^vorbis_info, number: i32, arg: rawptr) -> i32 ---

    vorbis_encode_init ¶

    vorbis_encode_init :: proc "c" (
    	vi:              ^vorbis_info, 
    	channels:        i64, 
    	rate:            i64, 
    	max_bitrate:     i64, 
    	nominal_bitrate: i64, 
    	min_bitrate:     i64, 
    ) -> i32 ---

    vorbis_encode_init_vbr ¶

    vorbis_encode_init_vbr :: proc "c" (vi: ^vorbis_info, channels: i64, rate: i64, base_quality: f32) -> i32 ---

    vorbis_encode_setup_init ¶

    vorbis_encode_setup_init :: proc "c" (vi: ^vorbis_info) -> i32 ---

    vorbis_encode_setup_managed ¶

    vorbis_encode_setup_managed :: proc "c" (
    	vi:              ^vorbis_info, 
    	channels:        i64, 
    	rate:            i64, 
    	max_bitrate:     i64, 
    	nominal_bitrate: i64, 
    	min_bitrate:     i64, 
    ) -> i32 ---

    vorbis_encode_setup_vbr ¶

    vorbis_encode_setup_vbr :: proc "c" (vi: ^vorbis_info, channels: i64, rate: i64, quality: f32) -> i32 ---

    vorbis_granule_time ¶

    vorbis_granule_time :: proc "c" (v: ^vorbis_dsp_state, granulepos: i64) -> f64 ---

    vorbis_info_blocksize ¶

    vorbis_info_blocksize :: proc "c" (vi: ^vorbis_info, zo: i32) -> i32 ---

    vorbis_info_clear ¶

    vorbis_info_clear :: proc "c" (vi: ^vorbis_info) ---

    vorbis_info_init ¶

    vorbis_info_init :: proc "c" (vi: ^vorbis_info) ---

    vorbis_packet_blocksize ¶

    vorbis_packet_blocksize :: proc "c" (vi: ^vorbis_info, op: ^ogg.ogg_packet) -> i64 ---

    vorbis_synthesis ¶

    vorbis_synthesis :: proc "c" (vb: ^vorbis_block, op: ^ogg.ogg_packet) -> i32 ---

    vorbis_synthesis_blockin ¶

    vorbis_synthesis_blockin :: proc "c" (v: ^vorbis_dsp_state, vb: ^vorbis_block) -> i32 ---

    vorbis_synthesis_halfrate ¶

    vorbis_synthesis_halfrate :: proc "c" (v: ^vorbis_info, flag: i32) -> i32 ---

    vorbis_synthesis_halfrate_p ¶

    vorbis_synthesis_halfrate_p :: proc "c" (v: ^vorbis_info) -> i32 ---

    vorbis_synthesis_headerin ¶

    vorbis_synthesis_headerin :: proc "c" (vi: ^vorbis_info, vc: ^vorbis_comment, op: ^ogg.ogg_packet) -> i32 ---

    vorbis_synthesis_idheader ¶

    vorbis_synthesis_idheader :: proc "c" (op: ^ogg.ogg_packet) -> i32 ---
     

    Synthesis layer

    vorbis_synthesis_init ¶

    vorbis_synthesis_init :: proc "c" (v: ^vorbis_dsp_state, vi: ^vorbis_info) -> i32 ---

    vorbis_synthesis_lapout ¶

    vorbis_synthesis_lapout :: proc "c" (v: ^vorbis_dsp_state, pcm: ^^^f32) -> i32 ---

    vorbis_synthesis_pcmout ¶

    vorbis_synthesis_pcmout :: proc "c" (v: ^vorbis_dsp_state, pcm: ^^^f32) -> i32 ---

    vorbis_synthesis_read ¶

    vorbis_synthesis_read :: proc "c" (v: ^vorbis_dsp_state, samples: i32) -> i32 ---

    vorbis_synthesis_restart ¶

    vorbis_synthesis_restart :: proc "c" (v: ^vorbis_dsp_state) -> i32 ---

    vorbis_synthesis_trackonly ¶

    vorbis_synthesis_trackonly :: proc "c" (vb: ^vorbis_block, op: ^ogg.ogg_packet) -> i32 ---

    vorbis_version_string ¶

    vorbis_version_string :: proc "c" () -> cstring ---

    Procedure Groups

    This section is empty.

    Source Files

    Generation Information

    Generated with odin version dev-v0.0.1 (vendor "odin") Linux_amd64 @ 2026-01-30 10:23:18.389413390 +0000 UTC