SNDSETPOS

From QB64 Wiki

Jump to: navigation, search

The _SNDSETPOS statement changes the current/starting playing position of a sound in seconds.


Syntax:

_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:



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in
Toolbox
  • What links here
  • Related changes
  • Special pages
  • Printable version