table of contents
other versions
- experimental 3~git20240319~12fb85e+ds-1
Mix_QuickLoad_RAW(3) | SDL_mixer3 FUNCTIONS | Mix_QuickLoad_RAW(3) |
NAME¶
Mix_QuickLoad_RAW - Load a raw audio data from memory as quickly as possible.
SYNOPSIS¶
#include "SDL3_mixer/SDL_mixer.h"
Mix_Chunk * Mix_QuickLoad_RAW(Uint8 *mem, Uint32 len);
DESCRIPTION¶
The audio data MUST be in the exact same format as the audio device. This function will not attempt to convert it, or even verify it's in the right format.
If this function is successful, the provided memory buffer must remain available until Mix_FreeChunk () is called on the returned chunk.
FUNCTION PARAMETERS¶
RETURN VALUE¶
Returns a new chunk, or NULL on error.
AVAILABILITY¶
This function is available since SDL_mixer 3.0.0.
SEE ALSO¶
SDL_mixer 3.0.0 | SDL_mixer |