#include <stddef.h>
#include <stdint.h>
#include <retro_inline.h>
Go to the source code of this file.
|
void | drmp3dec_init (drmp3dec *dec) |
|
int | drmp3dec_decode_frame (drmp3dec *dec, const unsigned char *mp3, int mp3_bytes, short *pcm, drmp3dec_frame_info *info) |
|
drmp3_bool32 | drmp3_init (drmp3 *pMP3, drmp3_read_proc onRead, drmp3_seek_proc onSeek, void *pUserData, const drmp3_config *pConfig) |
|
drmp3_bool32 | drmp3_init_memory (drmp3 *pMP3, const void *pData, size_t dataSize, const drmp3_config *pConfig) |
|
void | drmp3_uninit (drmp3 *pMP3) |
|
drmp3_uint64 | drmp3_read_f32 (drmp3 *pMP3, drmp3_uint64 framesToRead, float *pBufferOut) |
|
drmp3_bool32 | drmp3_seek_to_frame (drmp3 *pMP3, drmp3_uint64 frameIndex) |
|
float * | drmp3_open_and_decode_f32 (drmp3_read_proc onRead, drmp3_seek_proc onSeek, void *pUserData, drmp3_config *pConfig, drmp3_uint64 *pTotalFrameCount) |
|
float * | drmp3_open_and_decode_memory_f32 (const void *pData, size_t dataSize, drmp3_config *pConfig, drmp3_uint64 *pTotalFrameCount) |
|
void | drmp3_free (void *p) |
|
◆ DR_MP3_NO_STDIO
◆ DRMP3_FALSE
◆ DRMP3_MAX_SAMPLES_PER_FRAME
#define DRMP3_MAX_SAMPLES_PER_FRAME (1152*2) |
◆ DRMP3_SRC_CACHE_SIZE_IN_FRAMES
#define DRMP3_SRC_CACHE_SIZE_IN_FRAMES 512 |
◆ DRMP3_TRUE
◆ drmp3_bool32
◆ drmp3_bool8
◆ drmp3_int16
◆ drmp3_int32
◆ drmp3_int64
◆ drmp3_int8
◆ drmp3_read_proc
typedef size_t(* drmp3_read_proc) (void *pUserData, void *pBufferOut, size_t bytesToRead) |
◆ drmp3_seek_proc
◆ drmp3_src
◆ drmp3_src_read_proc
◆ drmp3_uint16
◆ drmp3_uint32
◆ drmp3_uint64
◆ drmp3_uint8
◆ drmp3_seek_origin
Enumerator |
---|
drmp3_seek_origin_start | |
drmp3_seek_origin_current | |
◆ drmp3_src_algorithm
Enumerator |
---|
drmp3_src_algorithm_none | |
drmp3_src_algorithm_linear | |
◆ drmp3_free()
◆ drmp3_init()
◆ drmp3_init_memory()
◆ drmp3_open_and_decode_f32()
◆ drmp3_open_and_decode_memory_f32()
◆ drmp3_read_f32()
◆ drmp3_seek_to_frame()
◆ drmp3_uninit()
◆ drmp3dec_decode_frame()
◆ drmp3dec_init()