SNDLEN - QB64 Wiki

SNDLEN

From QB64 Wiki

Revision as of 15:46, 28 April 2011 by Clippy (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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


Syntax:

soundlength = _SNDLEN (handle&)


Description:

  • Returns the length of a sound in seconds.
  • The opened file must include the "LEN" capability to use this function.


Code Examples:

PRINT _SNDLEN(h&)


See also:



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page