TORCS  1.3.9
The Open Racing Car Simulator
musicplayer.cpp File Reference
#include "musicplayer.h"
#include <GL/glut.h>
#include <string.h>
#include <tgf.h>
#include <portability.h>
#include "OggSoundStream.h"
#include "OpenALMusicPlayer.h"
Include dependency graph for musicplayer.cpp:

Go to the source code of this file.

Functions

static bool isEnabled ()
 
static SoundStreamgetMenuSoundStream (char *oggFilePath)
 
static OpenALMusicPlayergetMusicPlayer ()
 
static void playMenuMusic (int)
 
void startMenuMusic ()
 
void stopMenuMusic ()
 

Function Documentation

◆ getMenuSoundStream()

static SoundStream* getMenuSoundStream ( char *  oggFilePath)
static

Definition at line 51 of file musicplayer.cpp.

◆ getMusicPlayer()

static OpenALMusicPlayer* getMusicPlayer ( )
static

Definition at line 58 of file musicplayer.cpp.

Here is the call graph for this function:

◆ isEnabled()

static bool isEnabled ( )
static

Definition at line 31 of file musicplayer.cpp.

Here is the call graph for this function:

◆ playMenuMusic()

static void playMenuMusic ( int  )
static

Definition at line 69 of file musicplayer.cpp.

Here is the call graph for this function:

◆ startMenuMusic()

void startMenuMusic ( )

Definition at line 80 of file musicplayer.cpp.

Here is the call graph for this function:

◆ stopMenuMusic()

void stopMenuMusic ( )

Definition at line 90 of file musicplayer.cpp.

Here is the call graph for this function: