Fade music in
Jump to navigation Jump to search
INT fade_music_in ( <INT songID> , <INT num_loops> , <INT ms> )
Fades the music in, stepping up the volume from silence to the main song volume, i.e. set by the Set_song_volume() function.
|INT songID||- The identification code of the song, returned by load_song().|
|INT num_loops||- The number of loops, a value of -1 will be an infinite loop.|
|INT ms||- Microseconds of fading (the duration).|
INT : Error.
|-1||- Error: sound inactive.|