XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
minimp3.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _mp3_info
 

Macros

#define MP3_MAX_SAMPLES_PER_FRAME   (1152 * 2)
 
#define mp3_free(dec)
 

Typedefs

typedef struct _mp3_info mp3_info_t
 
typedef void * mp3_decoder_t
 

Functions

mp3_decoder_t mp3_create (void)
 
int mp3_decode (mp3_decoder_t dec, void *buf, int bytes, signed short *out, mp3_info_t *info)
 
void mp3_done (mp3_decoder_t *dec)
 

Macro Definition Documentation

◆ mp3_free

#define mp3_free (   dec)
Value:
do { \
mp3_done(dec); \
dec = NULL; \
} while (0)
#define NULL
Definition actypes.h:561

◆ MP3_MAX_SAMPLES_PER_FRAME

#define MP3_MAX_SAMPLES_PER_FRAME   (1152 * 2)

Typedef Documentation

◆ mp3_decoder_t

typedef void* mp3_decoder_t

◆ mp3_info_t

typedef struct _mp3_info mp3_info_t

Function Documentation

◆ mp3_create()

mp3_decoder_t mp3_create ( void  )
extern

◆ mp3_decode()

int mp3_decode ( mp3_decoder_t  dec,
void *  buf,
int  bytes,
signed short *  out,
mp3_info_t info 
)
extern

◆ mp3_done()

void mp3_done ( mp3_decoder_t dec)
extern