LoadSoundOGG

Description

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

This command takes a compressed OGG file and decompresses it during loading, allowing you to save file size, but memory usage will be the same as if you used a WAV file. If you want to use OGG whilst also saving memory then use the new LoadMusicOGG commands.

Definition

LoadSoundOGG( iID, sFilename )

integer LoadSoundOGG( sFilename )

Parameters