table of contents
| Mix_FadingChannel(3) | SDL_mixer3 FUNCTIONS | Mix_FadingChannel(3) |
NAME¶
Mix_FadingChannel - Query the fading status of a channel.
HEADER FILE¶
Defined in SDL3_mixer/SDL_mixer.h
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¶
( Mix_Fading ) 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 |