[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
int Mix_FadeOutMusic(int ms)
Gradually fade out the music over ms milliseconds starting from now.
The music will be halted after the fade out is completed. Only when music is playing and not fading already are set to fade out, including paused channels.
Any callback set by Mix_HookMusicFinished
will be called when the music finishes fading out.
Returns: 1 on success, 0 on failure.
|
See Also:
4.5.15 Mix_HaltMusic,
4.5.21 Mix_FadingMusic,
4.5.19 Mix_PlayingMusic,
4.5.17 Mix_HookMusicFinished