X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fcommon%2Fmp3.h;h=26c4a3cec5e89ebf6e26ad3ef81b121ad64611fe;hb=fc11dd059b5c7369a51ddcca532505b588bd0030;hp=da0987a9d7caccf484fa25654ebaea7c7c291d02;hpb=90f0dedf83b5eac80fc6b7aeed36c3429ce752f4;p=picodrive.git diff --git a/platform/common/mp3.h b/platform/common/mp3.h index da0987a..26c4a3c 100644 --- a/platform/common/mp3.h +++ b/platform/common/mp3.h @@ -1,8 +1,19 @@ +#ifndef __COMMON_MP3_H__ +#define __COMMON_MP3_H__ + +#include int mp3_find_sync_word(const unsigned char *buf, int size); +/* decoder */ +int mp3dec_start(void); +int mp3dec_decode(FILE *f, int *file_pos, int file_len); + +extern unsigned short mpeg1_l3_bitrates[16]; + #ifdef __GP2X__ void mp3_update_local(int *buffer, int length, int stereo); void mp3_start_play_local(void *f, int pos); #endif +#endif // __COMMON_MP3_H__