From QB64 Wiki
Revision as of 01:28, 15 August 2017 by imported>SMcNeill
Jump to navigation Jump to search

The _SNDGETPOS function returns the current playing position in seconds using a handle from _SNDOPEN.


position = _SNDGETPOS(handle&)


  • Returns the currently playing position in seconds.
  • If a sound isn't playing, it returns 0.
  • If a sound is paused, it returns the paused position.
  • For a looping sound, the value returns to 0 when the sound restarts.

See also

Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page