Home / comp / gb.sdl.sound / sound / play 
Sound.Play (gb.sdl.sound)
Syntax
FUNCTION Play ( [ Loops AS Integer ] ) AS Channel
Finds a free channel and plays the sound on it. The channel is returned.

With the Loops parameter, you can specify how many times the sound will be played.

If Loops is -1, then the sound is played forever.

By default, the sound is played once.