SNDPLAYING

From QB64 Wiki

Jump to: navigation, search

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


Syntax:

playing% = _SNDPLAYING (handle&)


Description:

  • Returns 0 if a sound is not playing or -1 if it is.
  • If a sound is paused, _SNDPLAYING will return 0.


Code Examples:

PRINT _SNDPLAYING(h&)


See also:



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