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

Mix_FadingChannel

Query the fading status of a channel.

Header File

Defined in SDL_mixer.h

Syntax

Mix_Fading Mix_FadingChannel(int which);

Function Parameters

which the channel to query.

Return Value

Returns the current fading status of the channel.

Remarks

This reports one of three values:

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.

Version

This function is available since SDL_mixer 2.0.0.


CategoryAPI, CategoryAPIFunction