notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cd: fix cycle overflow issue
[picodrive.git]
/
platform
/
common
/
mp3.h
diff --git
a/platform/common/mp3.h
b/platform/common/mp3.h
index
da0987a
..
eb66db8
100644
(file)
--- a/
platform/common/mp3.h
+++ b/
platform/common/mp3.h
@@
-1,8
+1,19
@@
+#ifndef __COMMON_MP3_H__
+#define __COMMON_MP3_H__
+
+#include <stdio.h>
int mp3_find_sync_word(const unsigned char *buf, int size);
int mp3_find_sync_word(const unsigned char *buf, int size);
+/* decoder */
+int mp3dec_start(FILE *f, int fpos_start);
+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
#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__