LoadSound()
Syntax
Result = LoadSound(#Sound, FileName$)Description
Load a WAV or any other format supported by the SoundPlugin sound into memory. If #PB_Any is used as '#Sound' parameter, the new sound number will be returned as 'Result'. 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 following command can be used to enable automatically more sound format:
UseOGGSoundDecoder()
Supported OS
All