Load WAV from a file.
a pointer to the sample as a Mix_Chunk. NULL is returned on errors.
Binds to C-function in SDL_mixer.h
Mix_Chunk *Mix_LoadWAV(char *file)
// load sample.wav in to sample Mix_Chunk *sample; sample=Mix_LoadWAV("sample.wav"); if(!sample) { printf("Mix_LoadWAV: %s\n", Mix_GetError()); // handle error }
SdlMixer Class | Tao.Sdl Namespace | Mix_LoadWAV_RW | Mix_QuickLoad_WAV | Mix_FreeChunk