SNDPLAYING: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 24: Line 24:


{{PageNavigation}}
{{PageNavigation}}
[[Category:Latest]]

Revision as of 17:40, 25 November 2022

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:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link