SDL_FreeWAV - Frees previously opened WAV data
#include "SDL.h" void SDL_FreeWAV(Uint8 *audio_buf);
After a WAVE file has been opened with SDL_LoadWAV its data can eventually be freed with SDL_FreeWAV. audio_buf is a pointer to the buffer created by SDL_LoadWAV.
SDL_LoadWAV