1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-05 22:50:23 +00:00
QB64-PE/internal/help/_SNDPLAYING.txt
2016-03-18 08:36:04 -03:00

25 lines
580 B
Plaintext

{{DISPLAYTITLE:_SNDPLAYING}}
The [[_SNDPLAYING]] function returns whether a sound is being played. Uses a handle from the [[_SNDOPEN]] or [[_SNDCOPY]] functions.
{{PageSyntax}}
:{{Parameter|playing%}} = {{KW|_SNDPLAYING}} ({{Parameter|handle&}})
{{PageDescription}}
*Returns 0 if a sound is not playing or -1 if it is.
*If a sound is paused, {{KW|_SNDPLAYING}} will return 0.
{{PageExamples}}
{{CodeStart}} '' ''
{{Cl|PRINT}} {{Cl|_SNDPLAYING}}(h&) '' ''
{{CodeEnd}}
{{PageSeeAlso}}
* [[_SNDPLAY]], [[_SNDPAUSE]], [[_SNDSTOP]]
* [[_SNDPAUSED]]
{{PageNavigation}}