_SNDLEN

From QB64 Phoenix Edition Wiki
Revision as of 20:22, 19 April 2022 by SMcNeill (talk | contribs) (Created page with "{{DISPLAYTITLE:_SNDLEN}} The _SNDLEN function returns the length in seconds of a loaded sound using a handle from the _SNDOPEN function. {{PageSyntax}} : {{Parameter|soundLength}} = _SNDLEN({{Parameter|handle&}}) {{PageDescription}} * Returns the length of a sound in seconds. * In versions '''prior to build 20170811/60''', the sound identified by {{Parameter|handle&}} must have been opened using the "LEN" capability to use this function. {{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The _SNDLEN function returns the length in seconds of a loaded sound using a handle from the _SNDOPEN function.


Syntax

soundLength = _SNDLEN(handle&)


Description

  • Returns the length of a sound in seconds.
  • In versions prior to build 20170811/60, the sound identified by handle& must have been opened using the "LEN" capability to use this function.


See also



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