music_mad.h
changeset 521 565549e046b0
parent 518 8bc9b5fd2aae
child 542 3de4970b36d4
     1.1 --- a/music_mad.h	Sat Dec 31 14:23:44 2011 -0500
     1.2 +++ b/music_mad.h	Sat Dec 31 18:32:49 2011 -0500
     1.3 @@ -42,7 +42,7 @@
     1.4  
     1.5  typedef struct {
     1.6    SDL_RWops *rw;
     1.7 -  SDL_bool freerw;
     1.8 +  int freerw;
     1.9    struct mad_stream stream;
    1.10    struct mad_frame frame;
    1.11    struct mad_synth synth;
    1.12 @@ -59,7 +59,7 @@
    1.13  } mad_data;
    1.14  
    1.15  mad_data *mad_openFile(const char *filename, SDL_AudioSpec *mixer);
    1.16 -mad_data *mad_openFileRW(SDL_RWops *rw, SDL_AudioSpec *mixer);
    1.17 +mad_data *mad_openFileRW(SDL_RWops *rw, SDL_AudioSpec *mixer, int freerw);
    1.18  void mad_closeFile(mad_data *mp3_mad);
    1.19  
    1.20  void mad_start(mad_data *mp3_mad);