forked from Galleondragon/qb64
-
Notifications
You must be signed in to change notification settings - Fork 25
_SNDPLAYING
Cory Smith edited this page Sep 1, 2022
·
3 revisions
The _SNDPLAYING function returns whether a sound is being played. Uses a handle from the _SNDOPEN or _SNDCOPY functions.
isPlaying% = _SNDPLAYING(handle&)
- Returns false (0) if a sound is not playing or true (-1) if it is.
- If a sound is paused, _SNDPLAYING returns 0.
PRINT _SNDPLAYING(h&)