1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-05 12:20:22 +00:00
qb64/internal/help/_SNDPLAYING.txt

26 lines
587 B
Plaintext
Raw Normal View History

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.
{{PageSyntax}}
2017-10-10 14:55:21 +00:00
:{{Parameter|isPlaying%}} = [[_SNDPLAYING]]({{Parameter|handle&}})
{{PageDescription}}
2017-10-10 14:55:21 +00:00
*Returns false (0) if a sound is not playing or true (-1) if it is.
*If a sound is paused, [[_SNDPLAYING]] returns 0.
{{PageExamples}}
2016-03-18 11:36:04 +00:00
{{CodeStart}} '' ''
{{Cl|PRINT}} {{Cl|_SNDPLAYING}}(h&) '' ''
{{CodeEnd}}
{{PageSeeAlso}}
2016-03-18 11:36:04 +00:00
* [[_SNDPLAY]], [[_SNDPAUSE]], [[_SNDSTOP]]
* [[_SNDPAUSED]]
2019-04-15 01:15:33 +00:00
{{PageNavigation}}