From QB64 Wiki
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.


soundLength = _SNDLEN(handle&)


  • 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

Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page