Scroll to navigation

Mix_FadingMusic(3) SDL_mixer3 FUNCTIONS Mix_FadingMusic(3)

NAME

Mix_FadingMusic - Query the fading status of the music stream.

HEADER FILE

Defined in SDL3_mixer/SDL_mixer.h

SYNOPSIS

#include "SDL3_mixer/SDL_mixer.h"
Mix_Fading Mix_FadingMusic(void);

DESCRIPTION

This reports one of three values:

MIX_NO_FADING

MIX_FADING_OUT

MIX_FADING_IN If music is not currently playing, this returns

MIX_NO_FADING .

RETURN VALUE

( Mix_Fading ) Returns the current fading status of the music stream.

AVAILABILITY

This function is available since SDL_mixer 3.0.0.

SDL_mixer 3.0.0 SDL_mixer