TORCS  1.3.10
The Open Racing Car Simulator
Loading...
Searching...
No Matches
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 SoundStream * getMenuSoundStream (char *oggFilePath)
static OpenALMusicPlayer * getMusicPlayer ()
static void playMenuMusic (int)
void startMenuMusic ()
void stopMenuMusic ()

Function Documentation

◆ getMenuSoundStream()

SoundStream * getMenuSoundStream ( char * oggFilePath)
static

Definition at line 51 of file musicplayer.cpp.

◆ getMusicPlayer()

OpenALMusicPlayer * getMusicPlayer ( )
static

Definition at line 58 of file musicplayer.cpp.

Here is the call graph for this function:

◆ isEnabled()

bool isEnabled ( )
static

Definition at line 31 of file musicplayer.cpp.

Here is the call graph for this function:

◆ playMenuMusic()

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: