music_ogg.h
changeset 521 565549e046b0
parent 518 8bc9b5fd2aae
child 542 3de4970b36d4
     1.1 --- a/music_ogg.h	Sat Dec 31 14:23:44 2011 -0500
     1.2 +++ b/music_ogg.h	Sat Dec 31 18:32:49 2011 -0500
     1.3 @@ -32,6 +32,8 @@
     1.4  #endif
     1.5  
     1.6  typedef struct {
     1.7 +	SDL_RWops *rw;
     1.8 +	int freerw;
     1.9  	int playing;
    1.10  	int volume;
    1.11  	OggVorbis_File vf;
    1.12 @@ -53,7 +55,7 @@
    1.13  extern OGG_music *OGG_new(const char *file);
    1.14  
    1.15  /* Load an OGG stream from an SDL_RWops object */
    1.16 -extern OGG_music *OGG_new_RW(SDL_RWops *rw);
    1.17 +extern OGG_music *OGG_new_RW(SDL_RWops *rw, int freerw);
    1.18  
    1.19  /* Start playback of a given OGG stream */
    1.20  extern void OGG_play(OGG_music *music);