[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Mix_Chunk *Mix_QuickLoad_WAV(Uint8 *mem)
Load mem as a WAVE/RIFF file into a new sample. The WAVE in mem must be already in the output format. It would be better to use Mix_LoadWAV_RW
if you aren't sure.
Note: This function does very little checking. If the format mismatches the output format, or if the buffer is not a WAVE, it will not return an error. This is probably a dangerous function to use.
Returns: a pointer to the sample as a Mix_Chunk
. NULL is returned on errors.
|
See Also:
4.2.3 Mix_LoadWAV,
4.2.6 Mix_QuickLoad_RAW,
4.2.8 Mix_FreeChunk