SNDPLAYING: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
(Created page with "{{DISPLAYTITLE:_SNDPLAYING}} The _SNDPLAYING function returns whether a sound is being played. Uses a handle from the _SNDOPEN or _SNDCOPY functions. {{PageSyntax}} :{{Parameter|isPlaying%}} = _SNDPLAYING({{Parameter|handle&}}) {{PageDescription}} *Returns false (0) if a sound is not playing or true (-1) if it is. *If a sound is paused, _SNDPLAYING returns 0. {{PageExamples}} {{CodeStart}} '' '' {{Cl|PRINT}} {{Cl|_SNDPLAYING}}(h&) '' '' {{CodeEn...") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
{{PageExamples}} | {{PageExamples}} | ||
{{CodeStart}} | {{CodeStart}} | ||
{{Cl|PRINT}} {{Cl|_SNDPLAYING}}(h&) | {{Cl|PRINT}} {{Cl|_SNDPLAYING}}(h&) | ||
{{CodeEnd}} | {{CodeEnd}} | ||
Latest revision as of 02:43, 23 January 2023
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