LoadSound()
Syntax
Result = LoadSound(#Sound, Filename$ [, Flags])Description
Load a WAV or any other format supported by the SoundPlugin library 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 function PlaySound(), else the sound loading has failed.
The 'Flags' optional parameter can be a combination of the following values:#PB_Sound_Streaming: Enable sound streaming playback (only supported for FLAC and OGG))The following functions can be used to enable automatically more sound format:
UseFLACSoundDecoder()
UseOGGSoundDecoder()
Supported OS
All