music_flac.h
changeset 521 565549e046b0
parent 518 8bc9b5fd2aae
child 542 3de4970b36d4
     1.1 --- a/music_flac.h	Sat Dec 31 14:23:44 2011 -0500
     1.2 +++ b/music_flac.h	Sat Dec 31 18:32:49 2011 -0500
     1.3 @@ -52,6 +52,7 @@
     1.4  	FLAC__StreamDecoder *flac_decoder;
     1.5  	FLAC_Data flac_data;
     1.6  	SDL_RWops *rwops;
     1.7 +	int freerw;
     1.8  	SDL_AudioCVT cvt;
     1.9  	int len_available;
    1.10  	Uint8 *snd_available;
    1.11 @@ -69,7 +70,7 @@
    1.12  extern FLAC_music *FLAC_new(const char *file);
    1.13  
    1.14  /* Load an FLAC stream from an SDL_RWops object */
    1.15 -extern FLAC_music *FLAC_new_RW(SDL_RWops *rw);
    1.16 +extern FLAC_music *FLAC_new_RW(SDL_RWops *rw, int freerw);
    1.17  
    1.18  /* Start playback of a given FLAC stream */
    1.19  extern void FLAC_play(FLAC_music *music);