LoopSample /Audio and multimedia

bool LoopSample(string fileName, bool enable)

Toggles the sound or music looping.

void onSceneCreated()
{
    LoadMusic("musics/epic_song.mp3");

    // enables looping
    LoopSample("musics/epic_song.mp3", true);

    // plays the (hopefully)epic song
    PlaySample("musics/epic_song.mp3");
}