table of contents
other versions
- experimental 3~git20250302~78a2035+ds-1
Mix_GetChunk(3) | SDL_mixer3 FUNCTIONS | Mix_GetChunk(3) |
NAME¶
Mix_GetChunk - Get the Mix_Chunk
currently associated with a mixer channel.
HEADER FILE¶
Defined in SDL3_mixer/SDL_mixer.h
SYNOPSIS¶
#include "SDL3_mixer/SDL_mixer.h"
Mix_Chunk * Mix_GetChunk(int channel);
DESCRIPTION¶
You may not specify MAX_CHANNEL_POST or -1 for a channel.
FUNCTION PARAMETERS¶
- channel
- the channel to query.
RETURN VALUE¶
( Mix_Chunk
*) Returns the associated chunk, if any, or NULL if it's an invalid
channel.
AVAILABILITY¶
This function is available since SDL_mixer 3.0.0.
SDL_mixer 3.0.0 | SDL_mixer |