LoadSound()

Syntax

Result = LoadSound(#Sound, FileName$)

Description

Load the specified sound into memory. If the 'Result' is not 0, the sound has been correctly loaded and is ready to be played with the command PlaySound(), else the sound loading has failed. The sound has to be in the standard WAVE format (.wav). Both 16 bits and 8 bits sounds are supported, of any frequency.

Supported OS

Windows, AmigaOS, Linux

Sound - Index