SDL Wiki
(This function is part of SDL_mixer, a separate library from SDL.)

Mix_FadeInMusic

Fade in music or a channel over "ms" milliseconds, same semantics as the "Play" functions

Syntax

int Mix_FadeInMusic(Mix_Music *music, int loops, int ms);

Function Parameters

music

music

loops

loops

ms

milliseconds

Return Value

Returns 0 if successful, -1 on error

Version

This function is available since SDL_mixer 2.0.0.


CategoryAPI


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.