SNDLIMIT - QB64 Wiki

SNDLIMIT

From QB64 Wiki

Revision as of 15:45, 28 April 2011 by Clippy (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
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