Skip to content

Commit

Permalink
Fixed bug 1887 - libmad support broken
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jun 4, 2013
1 parent d085222 commit 0021552
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions music_mad.h
Expand Up @@ -41,8 +41,8 @@ enum {
};

typedef struct {
SDL_RWops *rw;
int freerw;
SDL_RWops *src;
int freesrc;
struct mad_stream stream;
struct mad_frame frame;
struct mad_synth synth;
Expand All @@ -58,7 +58,7 @@ typedef struct {
unsigned char output_buffer[MAD_OUTPUT_BUFFER_SIZE];
} mad_data;

mad_data *mad_openFileRW(SDL_RWops *rw, SDL_AudioSpec *mixer, int freerw);
mad_data *mad_openFileRW(SDL_RWops *src, SDL_AudioSpec *mixer, int freesrc);
void mad_closeFile(mad_data *mp3_mad);

void mad_start(mad_data *mp3_mad);
Expand Down

0 comments on commit 0021552

Please sign in to comment.