mixFreeChunk function
Free an audio chunk.
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.
\param chunk the chunk to free.
\since This function is available since SDL_mixer 3.0.0.
\sa Mix_LoadWAV \sa Mix_LoadWAV_IO \sa Mix_QuickLoad_WAV \sa Mix_QuickLoad_RAW
extern SDL_DECLSPEC void SDLCALL Mix_FreeChunk(Mix_Chunk *chunk)
Implementation
void mixFreeChunk(Pointer<MixChunk> chunk) {
final mixFreeChunkLookupFunction = libSdl3Mixer.lookupFunction<
Void Function(Pointer<MixChunk> chunk),
void Function(Pointer<MixChunk> chunk)>('Mix_FreeChunk');
return mixFreeChunkLookupFunction(chunk);
}