(f: *stb_vorbis) -> void
#import "stb_vorbis";
Procedures#
(filename: *u8, channels: *s32, sample_rate: *s32, output: **s16) -> s32
(f: *stb_vorbis, datablock: *u8, datablock_length_in_bytes: s32, channels: *s32, output: ***float, samples: *s32) -> s32
(mem: *u8, len: s32, channels: *s32, sample_rate: *s32, output: **s16) -> s32
(f: *stb_vorbis) -> void
(f: *stb_vorbis) -> stb_vorbis_comment
(f: *stb_vorbis) -> s32
(f: *stb_vorbis) -> u32
(f: *stb_vorbis) -> stb_vorbis_info
(f: *stb_vorbis) -> s32
(f: *FILE, close_handle_on_close: s32, error: *s32, alloc_buffer: *stb_vorbis_alloc, len: u32) -> *stb_vorbis
(datablock: *u8, datablock_length_in_bytes: s32, datablock_memory_consumed_in_bytes: *s32, error: *s32, alloc_buffer: *stb_vorbis_alloc) -> *stb_vorbis
(f: *stb_vorbis) -> s32
(f: *stb_vorbis) -> u32
(f: *stb_vorbis) -> float
Types#
:: struct
:: struct
- alloc_buffer: *u8
- alloc_buffer_length_in_bytes: s32
:: struct
- vendor: *u8
- comment_list_length: s32
- comment_list: **u8
:: struct
- sample_rate: u32
- channels: s32
- setup_memory_required: u32
- setup_temp_memory_required: u32
- temp_memory_required: u32
- max_frame_size: s32
:: enum
- no_error
- need_more_data
- invalid_api_mixing
- outofmem
- feature_not_supported
- too_many_channels
- file_open_failure
- seek_without_length
- unexpected_eof
- seek_invalid
- invalid_setup
- invalid_stream
- missing_capture_pattern
- invalid_stream_structure_version
- continued_packet_flag_invalid
- incorrect_stream_serial_number
- invalid_first_page
- bad_packet_type
- cant_find_last_page
- seek_failed
- ogg_skeleton_not_supported
- VORBIS__no_error
- VORBIS_need_more_data
- VORBIS_invalid_api_mixing
- VORBIS_outofmem
- VORBIS_feature_not_supported
- VORBIS_too_many_channels
- VORBIS_file_open_failure
- VORBIS_seek_without_length
- VORBIS_unexpected_eof
- VORBIS_seek_invalid
- VORBIS_invalid_setup
- VORBIS_invalid_stream
- VORBIS_missing_capture_pattern
- VORBIS_invalid_stream_structure_version
- VORBIS_continued_packet_flag_invalid
- VORBIS_incorrect_stream_serial_number
- VORBIS_invalid_first_page
- VORBIS_bad_packet_type
- VORBIS_cant_find_last_page
- VORBIS_seek_failed
- VORBIS_ogg_skeleton_not_supported