2016-03-18 11:36:04 +00:00
|
|
|
{{DISPLAYTITLE:_SNDPLAYING}}
|
|
|
|
The [[_SNDPLAYING]] function returns whether a sound is being played. Uses a handle from the [[_SNDOPEN]] or [[_SNDCOPY]] functions.
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{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}}
|
2016-03-18 11:36:04 +00:00
|
|
|
{{CodeStart}} '' ''
|
|
|
|
{{Cl|PRINT}} {{Cl|_SNDPLAYING}}(h&) '' ''
|
2015-08-02 12:12:44 +00:00
|
|
|
{{CodeEnd}}
|
|
|
|
|
|
|
|
|
|
|
|
{{PageSeeAlso}}
|
2016-03-18 11:36:04 +00:00
|
|
|
* [[_SNDPLAY]], [[_SNDPAUSE]], [[_SNDSTOP]]
|
|
|
|
* [[_SNDPAUSED]]
|
2015-08-02 12:12:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{PageNavigation}}
|