table of contents
other versions
- experimental 3~git20240319~12fb85e+ds-1
Mix_GetMusicType(3) | SDL_mixer3 FUNCTIONS | Mix_GetMusicType(3) |
NAME¶
Mix_GetMusicType - Find out the format of a mixer music.
SYNOPSIS¶
#include "SDL3_mixer/SDL_mixer.h"
Mix_MusicType Mix_GetMusicType(const Mix_Music *music);
DESCRIPTION¶
If music is NULL, this will query the currently playing music (and return MUS_NONE if nothing is currently playing).
FUNCTION PARAMETERS¶
- music
- the music object to query, or NULL for the currently-playing music.
RETURN VALUE¶
Returns the Mix_MusicType
for the music object.
AVAILABILITY¶
This function is available since SDL_mixer 3.0.0
SDL_mixer 3.0.0 | SDL_mixer |