table of contents
other versions
- experimental 3~git20240319~12fb85e+ds-1
Mix_FadingChannel(3) | SDL_mixer3 FUNCTIONS | Mix_FadingChannel(3) |
NAME¶
Mix_FadingChannel - Query the fading status of a channel.
SYNOPSIS¶
#include "SDL3_mixer/SDL_mixer.h"
Mix_Fading Mix_FadingChannel(int which);
DESCRIPTION¶
This reports one of three values:
• MIX_NO_FADING
• MIX_FADING_OUT
• MIX_FADING_IN If nothing is currently playing on the channel, or an invalid channel is specified, this returns MIX_NO_FADING .
You may not specify MAX_CHANNEL_POST for a channel.
You may not specify -1 for all channels; only individual channels may be queried.
FUNCTION PARAMETERS¶
- which
- the channel to query.
RETURN VALUE¶
Returns the current fading status of the channel.
AVAILABILITY¶
This function is available since SDL_mixer 3.0.0.
SDL_mixer 3.0.0 | SDL_mixer |