Music.Play (gb.sdl2.audio)

Static Sub Play ( [ Loops As Integer, FadeIn As Float ] )

Start playing the music with an optional fade-in.

  • Loops is how many times the music will be played, -1 meaning that the music will be played forever. By default the music is played once.

  • FadeIn is the fade-in duration in seconds if any. By default this is zero, i.e. there is no fading.