#include "mpadec.h"
#define MP3DEC_RETCODE_BAD_STATE 2 |
#define MP3DEC_RETCODE_INVALID_HANDLE 1 |
#define MP3DEC_RETCODE_INVALID_PARAMETERS 3 |
#define MP3DEC_RETCODE_NOT_MPEG_STREAM 4 |
#define MP3DEC_RETCODE_OK 0 |
#define MP3DEC_RETCODE_SEEK_FAILED 5 |
#define MP3DEC_RETCODE_UNKNOWN 6 |
#define MP3DEC_SEEK_BYTES 0 |
#define MP3DEC_SEEK_SAMPLES 1 |
#define MP3DEC_SEEK_SECONDS 2 |
typedef void* mp3dec_t |
int mp3dec_configure | ( | mp3dec_t | mp3dec, | |
mpadec_config_t * | cfg | |||
) |
char* mp3dec_error | ( | int | code | ) |
int mp3dec_get_info | ( | mp3dec_t | mp3dec, | |
void * | info, | |||
int | info_type | |||
) |
mp3dec_t mp3dec_init | ( | void | ) |
int mp3dec_reset | ( | mp3dec_t | mp3dec | ) |
int mp3dec_uninit | ( | mp3dec_t | mp3dec | ) |