src/audio/SDL_wave.c
changeset 1361 19418e4422cb
parent 1358 c71e05b4dc2e
child 1402 d910939febfa
equal deleted inserted replaced
1360:70a9cfb4cf1b 1361:19418e4422cb
    17     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    17     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    18 
    18 
    19     Sam Lantinga
    19     Sam Lantinga
    20     slouken@libsdl.org
    20     slouken@libsdl.org
    21 */
    21 */
    22 
       
    23 #ifndef DISABLE_FILE
       
    24 
    22 
    25 /* Microsoft WAVE file loading routines */
    23 /* Microsoft WAVE file loading routines */
    26 
    24 
    27 #include "SDL_audio.h"
    25 #include "SDL_audio.h"
    28 #include "SDL_wave.h"
    26 #include "SDL_wave.h"
   588 		SDL_free(chunk->data);
   586 		SDL_free(chunk->data);
   589 		return(-1);
   587 		return(-1);
   590 	}
   588 	}
   591 	return(chunk->length);
   589 	return(chunk->length);
   592 }
   590 }
   593 
       
   594 #endif /* ENABLE_FILE */