SDL Wiki
(This function is part of SDL_mixer, a separate library from SDL.)

Mix_FreeChunk

Free an audio chunk previously loaded

Syntax

void Mix_FreeChunk(Mix_Chunk *chunk);

Function Parameters

chunk

Mix Chunk

Remarks

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.

Version

This function is available since SDL_mixer 2.0.0.

Mix_LoadWAV
Mix_LoadWAV_RW
Mix_QuickLoad_WAV
Mix_QuickLoad_RAW

CategoryAPI


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.