destroy method

void destroy()

Destroy the specified audio decoder.

Destroying a NULL MIX_AudioDecoder is a legal no-op.

\param audiodecoder the audio to destroy.

\threadsafety It is safe to call this function from any thread.

\since This function is available since SDL_mixer 3.0.0.

extern SDL_DECLSPEC void SDLCALL MIX_DestroyAudioDecoder(MIX_AudioDecoder *audiodecoder)

{@category mixer}

Implementation

void destroy() => mixDestroyAudioDecoder(this);