Free an audio chunk.
void Mix_FreeChunk(Mix_Chunk *chunk);
|chunk||the chunk to free.|
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.
This function is available since SDL_mixer 2.0.0.