mirror of
https://github.com/QB64Official/qb64.git
synced 2024-08-30 21:10:16 +00:00
26 lines
538 B
Text
26 lines
538 B
Text
|
The {{KW|_SNDPAUSED}} function checks if a sound is paused. Uses a handle parameter passed from {{KW|_SNDOPEN}}.
|
||
|
|
||
|
|
||
|
{{PageSyntax}}
|
||
|
:{{Parameter|paused%}} = {{KW|_SNDPAUSED}} ({{Parameter|handle&}})
|
||
|
|
||
|
|
||
|
{{PageDescription}}
|
||
|
*Returns -1 if the sound is paused. 0 if not paused.
|
||
|
*Sound files opened must have the "PAUSE" capability to use this function.
|
||
|
|
||
|
|
||
|
|
||
|
{{PageExamples}}
|
||
|
{{CodeStart}}
|
||
|
|
||
|
{{Cl|PRINT}} {{Cl|_SNDPAUSED}}(h&)
|
||
|
|
||
|
{{CodeEnd}}
|
||
|
|
||
|
|
||
|
{{PageSeeAlso}}
|
||
|
*{{KW|_SNDPAUSE}}, {{KW|_SNDPLAY}}, {{KW|_SNDSTOP}}
|
||
|
|
||
|
|
||
|
{{PageNavigation}}
|