LoadSound

Description

Loads a sound file from the application media folder and returns the sound number. File paths must be relative, not absolute, you cannot load sound files from elsewhere on the disk.

Please note that compressed WAV files are not supported. You must use uncompressed WAV files to ensure compatibility on all platforms.

Definition

integer LoadSound( sFilename )

LoadSound( iID, sFilename )

Parameters