_SNDPAUSED - QB64 Wiki

_SNDPAUSED

From QB64 Wiki

Jump to: navigation, search

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


Syntax:

paused% = _SNDPAUSED(handle&)


Description:

  • Returns -1 if the sound is paused. 0 if not paused.
  • Sound files opened must have the "PAUSE" capability to use this function.

QB64 supports the following sound file formats (Bold is a guaranteed capability): WAV = "VOL,SYNC,LEN,PAUSE" Free WAV to OGG GUI converter OGG = "VOL,SYNC,LEN,PAUSE" 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" Free WMA, MP3 and OGG converter Note: _SNDBAL only affects MP3 volume. Sound will reside in main channel.


Example:

PRINT _SNDPAUSED(h&)


See also:



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in
Toolbox
  • What links here
  • Related changes
  • Special pages
  • Printable version