table of contents
- experimental 3~git20250302~78a2035+ds-1
Mix_GetChunkDecoder(3) | SDL_mixer3 FUNCTIONS | Mix_GetChunkDecoder(3) |
NAME¶
Mix_GetChunkDecoder - Get a chunk decoder's name.
HEADER FILE¶
Defined in SDL3_mixer/SDL_mixer.h
SYNOPSIS¶
#include "SDL3_mixer/SDL_mixer.h"
const char * Mix_GetChunkDecoder(int index);
DESCRIPTION¶
The requested decoder's index must be between zero and
Mix_GetNumChunkDecoders ()-1. It's safe to call this with an invalid index; this function will return NULL in that case.
This list can change between builds AND runs of the program, if external libraries that add functionality become available. You must successfully call Mix_OpenAudio () before calling this function, as decoders are activated at device open time.
FUNCTION PARAMETERS¶
- index
- index of the chunk decoder.
RETURN VALUE¶
Returns the chunk decoder's name.
AVAILABILITY¶
This function is available since SDL_mixer 3.0.0.
SEE ALSO¶
SDL_mixer 3.0.0 | SDL_mixer |