|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
Mix_Chunk *Mix_LoadWAV_RW(SDL_RWops *src, int freesrc)
Load src for use as a sample. This can load WAVE, AIFF, RIFF, OGG, and VOC formats.
SDL_RWops is not covered here, but they enable you to load from almost any source.
Note: You must call SDL_OpenAudio before this. It must know the output characteristics so it can convert the sample for playback, it does this conversion at load time.
Returns: a pointer to the sample as a
Mix_Chunk. NULL is returned on errors.
4.2.1 Mix_LoadWAV, 4.2.3 Mix_QuickLoad_WAV, 4.2.6 Mix_FreeChunk