music_mad.h
changeset 630 39fbc5a85070
parent 617 87116a42526e
child 711 f40c5ac95b12
     1.1 --- a/music_mad.h	Sun Jun 02 00:35:46 2013 -0700
     1.2 +++ b/music_mad.h	Mon Jun 03 19:55:20 2013 -0700
     1.3 @@ -41,8 +41,8 @@
     1.4  };
     1.5  
     1.6  typedef struct {
     1.7 -  SDL_RWops *rw;
     1.8 -  int freerw;
     1.9 +  SDL_RWops *src;
    1.10 +  int freesrc;
    1.11    struct mad_stream stream;
    1.12    struct mad_frame frame;
    1.13    struct mad_synth synth;
    1.14 @@ -58,7 +58,7 @@
    1.15    unsigned char output_buffer[MAD_OUTPUT_BUFFER_SIZE];
    1.16  } mad_data;
    1.17  
    1.18 -mad_data *mad_openFileRW(SDL_RWops *rw, SDL_AudioSpec *mixer, int freerw);
    1.19 +mad_data *mad_openFileRW(SDL_RWops *src, SDL_AudioSpec *mixer, int freesrc);
    1.20  void mad_closeFile(mad_data *mp3_mad);
    1.21  
    1.22  void mad_start(mad_data *mp3_mad);