_SNDPLAYING

From QB64 Wiki
Revision as of 15:12, 9 September 2017 by imported>SMcNeill (style guidelines)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The _SNDPLAYING function returns whether a sound is being played. Uses a handle from the _SNDOPEN or _SNDCOPY functions.


Syntax

isPlaying% = _SNDPLAYING(handle&)


Description

  • Returns false (0) if a sound is not playing or true (-1) if it is.
  • If a sound is paused, _SNDPLAYING returns 0.


Examples

PRINT _SNDPLAYING(h&)


See also



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page