fix incomplete init
[picodrive.git] / platform / common / mp3.h
... / ...
CommitLineData
1#ifndef __COMMON_MP3_H__
2#define __COMMON_MP3_H__
3
4#include <stdio.h>
5
6int mp3_find_sync_word(const unsigned char *buf, int size);
7
8/* decoder */
9int mp3dec_start(void);
10int mp3dec_decode(FILE *f, int *file_pos, int file_len);
11
12extern unsigned short mpeg1_l3_bitrates[16];
13
14#ifdef __GP2X__
15void mp3_update_local(int *buffer, int length, int stereo);
16void mp3_start_play_local(void *f, int pos);
17#endif
18
19#endif // __COMMON_MP3_H__