table of contents
other versions
- experimental 3~git20250302~78a2035+ds-1
Mix_PlayingMusic(3) | SDL_mixer3 FUNCTIONS | Mix_PlayingMusic(3) |
NAME¶
Mix_PlayingMusic - Check the playing status of the music stream.
HEADER FILE¶
Defined in SDL3_mixer/SDL_mixer.h
SYNOPSIS¶
#include "SDL3_mixer/SDL_mixer.h"
bool Mix_PlayingMusic(void);
DESCRIPTION¶
If music is currently playing, this function returns 1. Otherwise it returns 0.
Paused music is treated as playing, even though it is not currently making forward progress in mixing.
RETURN VALUE¶
Returns true if music is playing, false otherwise.
AVAILABILITY¶
This function is available since SDL_mixer 3.0.0.
SDL_mixer 3.0.0 | SDL_mixer |