Fade out a group over time
The number of channels set to fade out.
Gradually fade out channels in group tag over ms milliseconds starting from now. The channels 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 each channel finishes fading out.
Binds to C-function in SDL_mixer.h
int Mix_FadeOutGroup(int tag, int ms)
// fade out all channels in group 1 to finish 3 seconds from now printf("starting fade out of %d channels\n", Mix_FadeOutGroup(1, 3000));
SdlMixer Class | Tao.Sdl Namespace | Mix_HaltGroup | Mix_FadeOutChannel | Mix_FadingChannel | Mix_ChannelFinished