platform ps2, handle audio similar to psp
[picodrive.git] / platform / common / mp3.h
CommitLineData
fc11dd05 1#ifndef __COMMON_MP3_H__
2#define __COMMON_MP3_H__
3
4#include <stdio.h>
abe0ea43 5
7c18e34a 6int mp3_find_sync_word(const unsigned char *buf, int size);
7
fc11dd05 8/* decoder */
75a30842 9int mp3dec_start(FILE *f, int fpos_start);
fc11dd05 10int mp3dec_decode(FILE *f, int *file_pos, int file_len);
11
12extern unsigned short mpeg1_l3_bitrates[16];
13
da42200b 14#ifdef __GP2X__
340e528f 15int _mp3dec_start(FILE *f, int fpos_start);
16int _mp3dec_decode(FILE *f, int *file_pos, int file_len);
da42200b 17#endif
abe0ea43 18
fc11dd05 19#endif // __COMMON_MP3_H__