# LoadMusicOGG

## Description

Loads a music file compressed with OGG Vorbis. This is supported on all platforms as is the new preferred way of playing music, replacing the LoadMusic command. Multiple OGG music files can be played at the same time. OGG music file IDs are separate from normal music file IDs and are not limited to a specific range of numbers.

## Definition

LoadMusicOGG( musicID, sFile )

void agk::LoadMusicOGG( UINT musicID, const char* sFile )

integer LoadMusicOGG( sFile )

UINT agk::LoadMusicOGG( const char* sFile )

## Parameters

- musicID - The ID to use to refer to this music file.
- sFile - The filename of the music file to load.