table of contents
- experimental 3~git20250302~78a2035+ds-1
Mix_FreeChunk(3) | SDL_mixer3 FUNCTIONS | Mix_FreeChunk(3) |
NAME¶
Mix_FreeChunk - Free an audio chunk.
HEADER FILE¶
Defined in SDL3_mixer/SDL_mixer.h
SYNOPSIS¶
#include "SDL3_mixer/SDL_mixer.h"
void Mix_FreeChunk(Mix_Chunk *chunk);
DESCRIPTION¶
An app should call this function when it is done with a
Mix_Chunk
and wants to dispose of its resources.
SDL_mixer will stop any channels this chunk is currently playing on. This will deregister all effects on those channels and call any callback specified by Mix_ChannelFinished () for each removed channel.
FUNCTION PARAMETERS¶
- chunk
- the chunk to free.
AVAILABILITY¶
This function is available since SDL_mixer 3.0.0.
SEE ALSO¶
•(3), Mix_LoadWAV(3), •(3), Mix_LoadWAV_IO(3), •(3), Mix_QuickLoad_WAV(3), •(3), Mix_QuickLoad_RAW(3)
SDL_mixer 3.0.0 | SDL_mixer |