audioformats.minimp3_ex

Translated to D by Guillaume Piolat. Stripped down a bit for the needs of audio-formats.

Members

Aliases

MP3D_ITERATE_CB
alias MP3D_ITERATE_CB = int function(void* user_data, const uint8_t* frame, int frame_size, int free_format_bytes, size_t buf_size, uint64_t offset, mp3dec_frame_info_t* info)
Undocumented in source.
MP3D_PROGRESS_CB
alias MP3D_PROGRESS_CB = int function(void* user_data, size_t file_size, uint64_t offset, mp3dec_frame_info_t* info)
Undocumented in source.
MP3D_READ_CB
alias MP3D_READ_CB = size_t function(void* buf, size_t size, void* user_data)
Undocumented in source.
MP3D_SEEK_CB
alias MP3D_SEEK_CB = int function(uint64_t position, void* user_data)
Undocumented in source.

Functions

mp3dec_close_file
void mp3dec_close_file(mp3dec_map_info_t* map_info)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_detect_buf
int mp3dec_detect_buf(uint8_t* buf, size_t buf_size)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_detect_cb
int mp3dec_detect_cb(mp3dec_io_t* io, uint8_t* buf, size_t buf_size)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_detect_mapinfo
int mp3dec_detect_mapinfo(mp3dec_map_info_t* map_info)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_ex_close
void mp3dec_ex_close(mp3dec_ex_t* dec)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_ex_open_buf
int mp3dec_ex_open_buf(mp3dec_ex_t* dec, uint8_t* buf, size_t buf_size, int seek_method)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_ex_open_cb
int mp3dec_ex_open_cb(mp3dec_ex_t* dec, mp3dec_io_t* io, int seek_method)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_ex_read
size_t mp3dec_ex_read(mp3dec_ex_t* dec, mp3d_sample_t* buf, size_t samples)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_ex_seek
int mp3dec_ex_seek(mp3dec_ex_t* dec, uint64_t position)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_idx_binary_search
size_t mp3dec_idx_binary_search(mp3dec_index_t* idx, uint64_t position)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_iterate_buf
int mp3dec_iterate_buf(const(uint8_t)* buf, size_t buf_size, MP3D_ITERATE_CB callback, void* user_data)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_iterate_cb
int mp3dec_iterate_cb(mp3dec_io_t* io, uint8_t* buf, size_t buf_size, MP3D_ITERATE_CB callback, void* user_data)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_iterate_mapinfo
int mp3dec_iterate_mapinfo(mp3dec_map_info_t* map_info, MP3D_ITERATE_CB callback, void* user_data)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_load_buf
int mp3dec_load_buf(mp3dec_t* dec, uint8_t* buf, size_t buf_size, mp3dec_file_info_t* info, MP3D_PROGRESS_CB progress_cb, void* user_data)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_load_cb
int mp3dec_load_cb(mp3dec_t* dec, mp3dec_io_t* io, uint8_t* buf, size_t buf_size, mp3dec_file_info_t* info, MP3D_PROGRESS_CB progress_cb, void* user_data)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_load_mapinfo
int mp3dec_load_mapinfo(mp3dec_t* dec, mp3dec_map_info_t* map_info, mp3dec_file_info_t* info, MP3D_PROGRESS_CB progress_cb, void* user_data)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_skip_id3
void mp3dec_skip_id3(const(uint8_t)** pbuf, size_t* pbuf_size)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_skip_id3v1
void mp3dec_skip_id3v1(uint8_t* buf, size_t* pbuf_size)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_skip_id3v2
size_t mp3dec_skip_id3v2(uint8_t* buf, size_t buf_size)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

MINIMP3_BUF_SIZE
enum MINIMP3_BUF_SIZE;
Undocumented in source.
MINIMP3_ENABLE_RING
enum MINIMP3_ENABLE_RING;
Undocumented in source.
MINIMP3_ID3_DETECT_SIZE
enum MINIMP3_ID3_DETECT_SIZE;
Undocumented in source.
MINIMP3_IO_SIZE
enum MINIMP3_IO_SIZE;
Undocumented in source.
MINIMP3_PREDECODE_FRAMES
enum MINIMP3_PREDECODE_FRAMES;
Undocumented in source.
MP3D_E_DECODE
enum MP3D_E_DECODE;
Undocumented in source.
MP3D_E_IOERROR
enum MP3D_E_IOERROR;
Undocumented in source.
MP3D_E_MEMORY
enum MP3D_E_MEMORY;
Undocumented in source.
MP3D_E_PARAM
enum MP3D_E_PARAM;
Undocumented in source.
MP3D_E_USER
enum MP3D_E_USER;
Undocumented in source.
MP3D_SEEK_TO_BYTE
enum MP3D_SEEK_TO_BYTE;
Undocumented in source.
MP3D_SEEK_TO_SAMPLE
enum MP3D_SEEK_TO_SAMPLE;
Undocumented in source.

Static functions

mp3dec_check_vbrtag
int mp3dec_check_vbrtag(uint8_t* frame, int frame_size, uint32_t* frames, int* delay, int* padding)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_ex_open_mapinfo
int mp3dec_ex_open_mapinfo(mp3dec_ex_t* dec, int seek_method)
Undocumented in source. Be warned that the author may not have intended to support it.
mp3dec_load_index
int mp3dec_load_index(void* user_data, uint8_t* frame, int frame_size, int free_format_bytes, size_t buf_size, uint64_t offset, mp3dec_frame_info_t* info)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

mp3dec_ex_t
struct mp3dec_ex_t
Undocumented in source.
mp3dec_file_info_t
struct mp3dec_file_info_t
Undocumented in source.
mp3dec_frame_t
struct mp3dec_frame_t
Undocumented in source.
mp3dec_index_t
struct mp3dec_index_t
Undocumented in source.
mp3dec_io_t
struct mp3dec_io_t
Undocumented in source.
mp3dec_map_info_t
struct mp3dec_map_info_t
Undocumented in source.

Meta