Name
WaitSongPosition -- halt program until module reaches song position
Synopsis
WaitSongPosition(pos)
Function
This function halts the program flow until the currently playing module reaches the specified song position pos. You have to call PlayModule() before using this command. This is useful for timing your applications with the music.

Inputs
pos
song position to wait for
Example
PlayModule(1)
WaitSongPosition(2)
The above code starts playing module number 1 and waits then for song position 2.

Show TOC