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


Query the fading status of a channel.


Mix_Fading Mix_FadingChannel(int which);

Function Parameters

which the channel to query.

Return Value

Returns the current fading status of the channel.


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.


This function is available since SDL_mixer 3.0.0.


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.