Fix mp3 warnings.

This commit is contained in:
Jay Oster 2014-06-30 00:16:08 -07:00
parent 050db8b445
commit cdd1ac5daf
3 changed files with 11 additions and 0 deletions

1
menu.c
View File

@ -37,6 +37,7 @@
//sound
#include <mikmod.h>
#include "mp3.h"
//cheats
struct gscEntry {

1
mp3.c
View File

@ -4,6 +4,7 @@
#include <stdint.h>
#include <mad.h>
#include "fat.h"
#include "mp3.h"
#include <libdragon.h>

9
mp3.h Normal file
View File

@ -0,0 +1,9 @@
#ifndef _MP3_H_
#define _MP3_H_
void start_mp3(char *fname, long long *samples, int *rate, int *channels);
void stop_mp3(void);
int update_mp3(char *buf, int bytes);
#endif // _MP3_H_