Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Sound.Play (gb.sdl.sound)

Function Play ( [ Loops As Integer, FadeIn As Float ] ) As Channel

Finds a free channel and plays the sound on it. The channel is returned.

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

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