Check if a music decoder is available by name.
const char *name);SDL_bool Mix_HasMusicDecoder(
|name||the decoder name to query.|
Returns SDL_TRUE if a decoder by that name is available, SDL_FALSE otherwise.
This result can change between builds AND runs of the program, if external libraries that add functionality become available. You must successfully call Mix_OpenAudio() or Mix_OpenAudioDevice() before calling this function, as decoders are activated at device open time.
Decoder names are arbitrary but also obvious, so you have to know what you're looking for ahead of time, but usually it's the file extension in capital letters (some example names are "MOD", "MP3", "FLAC").
This function is available since SDL_mixer 2.6.0