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

Mix_FadingChannel

Query the fading status of a channel.

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


[ 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.