#ifndef __CDDA_MP3_H__
#define __CDDA_MP3_H__

#ifdef __cplusplus
extern "C" {
#endif /* #ifdef __cplusplus */

	
int MP3_Init(void);
void MP3_Reset(void);
int MP3_Get_Bitrate(FILE *f);
int MP3_Get_Bitrate_samba(FILE *f);
int MP3_Get_Bitrate_relax(FILE *f);
int MP3_Lenght_LBA(FILE *f);
int MP3_Lenght_LBA_samba(FILE *f);
int MP3_Lenght_LBA_relax(FILE *f);
int MP3_Find_Frame(FILE *f, int pos_wanted);
int MP3_Find_Frame_samba(FILE *f, int pos_wanted);
int MP3_Find_Frame_relax(FILE *f, int pos_wanted);
int MP3_Play(int track, int lba_pos);
//int MP3_Update(int **buf, unsigned int lenght);
int MP3_Update(char *buf, int *rate, int *channel, unsigned int lenght_dest);
void MP3_Test(FILE* f);
void MP3_Test_samba(FILE* f);
void MP3_Test_relax(FILE* f);


#ifdef __cplusplus
}
#endif /* #ifdef __cplusplus */

#endif /* __CDDA_MP3_H__ */
