table of contents
other versions
- experimental 3~git20250302~78a2035+ds-1
Mix_GetMusicType(3) | SDL_mixer3 FUNCTIONS | Mix_GetMusicType(3) |
NAME¶
Mix_GetMusicType - Find out the format of a mixer music.
HEADER FILE¶
Defined in SDL3_mixer/SDL_mixer.h
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¶
( Mix_MusicType ) 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 |