[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
int Mix_FadeInMusic(Mix_Music *music, int loops, int ms)
Fade in over ms milliseconds of time, the loaded music, playing it loop times through from start to finish.
The fade in effect only applies to the first loop.
Any previous music will be halted, or if it is fading out it will wait (blocking) for the fade to complete.
This function is the same as Mix_FadeInMusicPos(music, loops, ms, 0)
.
Returns: 0 on success, or -1 on errors.
|
See Also:
4.5.5 Mix_PlayMusic,
4.5.7 Mix_FadeInMusicPos