mixDestroyAudioDecoder function mixer
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)
Implementation
void mixDestroyAudioDecoder(Pointer<MixAudioDecoder> audiodecoder) {
final mixDestroyAudioDecoderLookupFunction = _libMixer
.lookupFunction<
Void Function(Pointer<MixAudioDecoder> audiodecoder),
void Function(Pointer<MixAudioDecoder> audiodecoder)
>('MIX_DestroyAudioDecoder');
return mixDestroyAudioDecoderLookupFunction(audiodecoder);
}