1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 17:01:21 +00:00
QB64-PE/internal/help/_SNDPAUSED.txt

38 lines
1.4 KiB
Plaintext
Raw Normal View History

2016-03-18 11:36:04 +00:00
{{DISPLAYTITLE:_SNDPAUSED}}
The [[_SNDPAUSED]] function checks if a sound is paused. Uses a handle parameter passed from [[_SNDOPEN]].
{{PageSyntax}}
2016-03-18 11:36:04 +00:00
::: paused% = '''_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.
2016-03-18 11:36:04 +00:00
{{TextStart}} QB64 supports the following sound file formats ('''Bold is a guaranteed capability'''):
2016-03-18 11:36:04 +00:00
WAV = "'''VOL,SYNC,LEN''',PAUSE" [http://www.rarewares.org/ogg-oggdropxpd.php Free WAV to OGG GUI converter]
OGG = "VOL,SYNC,LEN,PAUSE" [http://www.rarewares.org/ogg-oggenc.php Free WAV to OGG converter]
AIF = "VOL,SYNC,LEN,PAUSE"
RIF = "VOL,SYNC,LEN,PAUSE"
VOC = "VOL,SYNC,LEN,PAUSE"
MID = "'''VOL'''"
MOD = "VOL,PAUSE"
MP3 = "'''VOL''',PAUSE,SETPOS" [http://www.freemp3wmaconverter.com/index.html Free WMA, MP3 and OGG converter]
2016-03-18 11:36:04 +00:00
''Note:'' {{Cb|_SNDBAL}} only affects MP3 volume. Sound will reside in main channel.
{{TextEnd}}
2016-03-18 11:36:04 +00:00
''Example:''
{{CodeStart}} '' ''
{{Cl|PRINT}} {{Cl|_SNDPAUSED}}(h&) '' ''
{{CodeEnd}}
{{PageSeeAlso}}
2016-03-18 11:36:04 +00:00
* [[_SNDPAUSE]], [[_SNDPLAY]],
* [[_SNDSTOP]]
{{PageNavigation}}