SNDSETPOS
From QB64 Wiki
The _SNDSETPOS statement changes the current/starting playing position of a sound in seconds.
- _SNDSETPOS (handle&, position!)
Description:
- Changes the current/starting playing position of a sound in seconds(a SINGLE value).
- If the seconds position is past the length of the sound the sound will stop playing.
- Opened files must have the "SETPOS" capability to use this statement.
- Function cannot be called while a looping(_SNDLOOP) sound is being played.
Code Examples:
_SNDSETPOS h&, 5.5
See also: