mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-16 09:44:19 +00:00
aeb9c0668b
Note: Many files were removed (not yet existing/empty pages). The parser will try to download them on demand and will auto-generate text for missing pages (eg. most _gl pages).
28 lines
615 B
Text
28 lines
615 B
Text
{{QBDLDATE:05-20-2022}}
|
|
{{QBDLTIME:23:11:08}}
|
|
{{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&)
|
|
{{CodeEnd}}
|
|
|
|
|
|
{{PageSeeAlso}}
|
|
* [[_SNDPLAY]], [[_SNDPAUSE]], [[_SNDSTOP]]
|
|
* [[_SNDPAUSED]]
|
|
|
|
|
|
{{PageNavigation}}
|
|
|