SNDLIMIT

From QB64 Wiki

Jump to: navigation, search

The _SNDLIMIT statement stops playing a sound after it has been playing for a set number of seconds.


Syntax:

_SNDLIMIT (handle&, limit!)


Description:

  • Sets how long a sound will be played in seconds.
  • Set limit to 0 to remove the limit.
  • Cannot be set for playing a looping sound.


Code Examples:

_SNDLIMIT h&, 5.5


See also:



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