mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-31 14:40:15 +00:00
26 lines
560 B
Text
26 lines
560 B
Text
|
The {{KW|_SNDPLAYING}} function returns whether a sound is being played. Uses a handle from the {{KW|_SNDOPEN}} or {{KW|_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}}
|
||
|
*{{KW|_SNDPLAY}}, {{KW|_SNDPAUSE}}, {{KW|_SNDSTOP}}
|
||
|
*{{KW|_SNDPAUSED}}
|
||
|
|
||
|
|
||
|
{{PageNavigation}}
|