SNDPAUSED: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:_SNDPAUSED}} The _SNDPAUSED function checks if a sound is paused. Uses a handle parameter passed from _SNDOPEN. {{PageSyntax}} : {{Parameter|isPaused%%}} = _SNDPAUSED({{Parameter|handle&}}) {{PageDescription}} *Returns true (-1) if the sound is paused. False (0) if not paused. {{PageExamples}} {{CodeStart}} '' '' {{Cl|PRINT}} {{Cl|_SNDPAUSED}}(h&) '' '' {{CodeEnd}} {{PageSeeAlso}} * _SNDPAUSE, _SNDPLAY, * _SNDSTOP {{PageN...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 12: Line 12:


{{PageExamples}}
{{PageExamples}}
{{CodeStart}} '' ''
{{CodeStart}}
{{Cl|PRINT}} {{Cl|_SNDPAUSED}}(h&) '' ''
{{Cl|PRINT}} {{Cl|_SNDPAUSED}}(h&)
{{CodeEnd}}
{{CodeEnd}}




{{PageSeeAlso}}
{{PageSeeAlso}}
* [[_SNDPAUSE]], [[_SNDPLAY]],
* [[_SNDPAUSE]], [[_SNDPLAY]]
* [[_SNDSTOP]]
* [[_SNDSTOP]]




{{PageNavigation}}
{{PageNavigation}}

Latest revision as of 21:32, 2 February 2023

The _SNDPAUSED function checks if a sound is paused. Uses a handle parameter passed from _SNDOPEN.


Syntax

isPaused%% = _SNDPAUSED(handle&)


Description

  • Returns true (-1) if the sound is paused. False (0) if not paused.


Examples

PRINT _SNDPAUSED(h&)


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link