Halt music stream, fading it out progressively till it's silent The ms parameter indicates the number of milliseconds the fading will take.
int Mix_FadeOutMusic(int ms);
ms |
milliseconds |
Returns 0 on success, or -1 on error.
This function is available since SDL_mixer 2.0.0.