Home > comp > gb.sdl.sound > sound > play 
  [3.0]
 fr de es it nl pl pt pt_BR mk sq ca ar fa vi ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
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.