Find out the format of a mixer music.
Defined in <SDL_mixer.h>
const Mix_Music *music); Mix_MusicType Mix_GetMusicType(
const Mix_Music * | music | the music object to query, or NULL for the currently-playing music. |
(Mix_MusicType) Returns the Mix_MusicType for the music object.
If music
is NULL, this will query the currently playing music (and return MUS_NONE if nothing is currently playing).
This function is available since SDL_mixer 2.0.0