[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
int Mix_FadeOutChannel(int channel, int ms)
Gradually fade out which channel over ms milliseconds starting from now.
The channel will be halted after the fade out is completed. Only channels that are playing are set to fade out, including paused channels.
Any callback set by Mix_ChannelFinished
will be called when the channel finishes fading out.
Returns: The number of channels set to fade out.
|
See Also:
4.3.5 Mix_FadeInChannel,
4.3.6 Mix_FadeInChannelTimed,
4.3.15 Mix_FadingChannel,
4.3.12 Mix_ChannelFinished