[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
int Mix_FadeInMusicPos(Mix_Music *music, int loops, int ms, double position)
Mix_SetMusicPosition
for meaning.
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.
The first time the music is played, it posistion will be set to posistion, which means different things for different types of music files, see Mix_SetMusicPosition
for more info on that.
Any previous music will be halted, or if it is fading out it will wait (blocking) for the fade to complete.
Returns: 0 on success, or -1 on errors.
|
See Also:
4.5.5 Mix_PlayMusic,
4.5.6 Mix_FadeInMusic,
4.5.13 Mix_SetMusicPosition