(This function is part of SDL_mixer, a separate library from SDL.)

Mix_FadingMusic

Query the fading status of the music stream.

Header File

Defined in SDL_mixer.h

Syntax

Mix_Fading Mix_FadingMusic(void);

Return Value

Returns the current fading status of the music stream.

Remarks

This reports one of three values:

If music is not currently playing, this returns MIX_NO_FADING.

Version

This function is available since SDL_mixer 3.0.0.


CategoryAPI, CategoryAPIFunction