# 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 )

void agk::LoadSoundOGG( UINT iID, const char* sFilename )

integer LoadSoundOGG( sFilename )

UINT agk::LoadSoundOGG( const char* sFilename )

## Parameters

- iID - The sound number to store the sound.
- Filename - The filename of the sound file to load, must be a OGG file.