src/engine/eSoundMixer.cpp File Reference

#include "aa_config.h"
#include "rSDL.h"
#include "rScreen.h"
#include "defs.h"
#include "tString.h"
#include "tLinkedList.h"
#include "tDirectories.h"
#include "tConfiguration.h"
#include "tConsole.h"
#include "tError.h"
#include "eGameObject.h"
#include "eCoord.h"
#include "eSoundMixer.h"
#include "sdl_mixer/eMusicTrackSDLMixer.h"
#include "sdl_mixer/eChannelSDLMixer.h"
#include <math.h>

Include dependency graph for eSoundMixer.cpp:

Go to the source code of this file.

Defines

#define SOUND_OFF   0
#define SOUND_LOW   1
#define SOUND_MED   2
#define SOUND_HIGH   3
#define PLAYLIST_INTERNAL   0
#define PLAYLIST_CUSTOM   1

Functions

void se_SoundMenu ()

Variables

char const * MusicModeString []
char const * SoundEffectString []
int sound_quality = SOUND_MED
static tConfItem< int > sq ("SOUND_QUALITY", sound_quality)
int musicVolume = 64
static tConfItem< int > sw ("MUSIC_VOLUME", musicVolume)
int numSoundcardChannels = 2
static tConfItem< int > scc ("SOUND_CHANNELS", numSoundcardChannels)
int musicActive = 1
static tConfItem< int > se ("MUSIC_ACTIVE", musicActive)
float buffersize = 4.0
static tConfItem< float > sbs ("SOUND_BUFFER_SIZE", buffersize)
tString titleTrack ("music/titletrack.ogg")
static tConfItemLine stt ("TITLE_TRACK", titleTrack)
tString guiTrack ("music/when.ogg")
static tConfItemLine ste ("GUI_TRACK", guiTrack)
tString playListFile ("music/default.m3u")
static tConfItemLine stp ("MUSIC_PLAYLIST", playListFile)
static tString customPlaylist ("")
static tConfItemLine cpl ("CUSTOM_MUSIC_PLAYLIST", customPlaylist)
static int usePlaylist = 0
static tConfItem< int > upl ("USE_CUSTOM_PLAYLIST", usePlaylist)


Define Documentation

#define PLAYLIST_CUSTOM   1

Definition at line 61 of file eSoundMixer.cpp.

#define PLAYLIST_INTERNAL   0

Definition at line 60 of file eSoundMixer.cpp.

Referenced by tPlayList::LoadPlaylist().

#define SOUND_HIGH   3

Definition at line 57 of file eSoundMixer.cpp.

#define SOUND_LOW   1

Definition at line 55 of file eSoundMixer.cpp.

#define SOUND_MED   2

Definition at line 56 of file eSoundMixer.cpp.

#define SOUND_OFF   0

Definition at line 54 of file eSoundMixer.cpp.


Function Documentation

void se_SoundMenu (  ) 

Definition at line 779 of file eSoundMixer.cpp.

References buffer_shift, uMenu::Enter(), se_SoundExit(), se_SoundInit(), Sound_menu, and sound_quality.

00780                    {
00781     // Empty function

Here is the call graph for this function:


Variable Documentation

float buffersize = 4.0

Definition at line 111 of file eSoundMixer.cpp.

Referenced by eSoundMixer::Init().

tConfItemLine cpl("CUSTOM_MUSIC_PLAYLIST", customPlaylist) [static]

tString customPlaylist("") [static]

Referenced by eSoundMixer::LoadPlaylist().

tString guiTrack("music/when.ogg")

Referenced by eSoundMixer::Init().

int musicActive = 1

Definition at line 108 of file eSoundMixer.cpp.

Referenced by eSoundMixer::eSoundMixer().

char const* MusicModeString[]

Initial value:

 {
                              "Title track",
                              "GUI track",
                              "In-game track"
                          }

Definition at line 72 of file eSoundMixer.cpp.

int musicVolume = 64

Definition at line 102 of file eSoundMixer.cpp.

Referenced by eSoundMixer::Init().

int numSoundcardChannels = 2

Definition at line 105 of file eSoundMixer.cpp.

Referenced by eSoundMixer::Init().

tString playListFile("music/default.m3u")

Referenced by eSoundMixer::LoadPlaylist().

tConfItem<float> sbs("SOUND_BUFFER_SIZE", buffersize) [static]

tConfItem<int> scc("SOUND_CHANNELS", numSoundcardChannels) [static]

tConfItem<int> se("MUSIC_ACTIVE", musicActive) [static]

int sound_quality = SOUND_MED

Definition at line 99 of file eSoundMixer.cpp.

char const* SoundEffectString[]

Initial value:

 {
                                "Cycle turn",
                                "Cycle explosion",
                                "Announcer says 1",
                                "Announcer says 2",
                                "Announcer says 3",
                                "Announcer says GO",
                                "New Match effect",
                                "New Round effect",
                                "Round Winner effect",
                                "Match Winner effect",
                                "Zone Spawn effect",
                                "Cycle motor effect",
                                "Cycle grinding a wall effect"
                            }

Definition at line 81 of file eSoundMixer.cpp.

Referenced by eSoundMixer::PlayContinuous().

tConfItem<int> sq("SOUND_QUALITY", sound_quality) [static]

tConfItemLine ste("GUI_TRACK", guiTrack) [static]

tConfItemLine stp("MUSIC_PLAYLIST", playListFile) [static]

tConfItemLine stt("TITLE_TRACK", titleTrack) [static]

tConfItem<int> sw("MUSIC_VOLUME", musicVolume) [static]

Referenced by gWallRim::RenderReal().

tString titleTrack("music/titletrack.ogg")

Referenced by eSoundMixer::Init().

tConfItem<int> upl("USE_CUSTOM_PLAYLIST", usePlaylist) [static]

int usePlaylist = 0 [static]

Definition at line 126 of file eSoundMixer.cpp.

Referenced by eSoundMixer::LoadPlaylist().


Generated on Sat Mar 15 22:58:50 2008 for Armagetron Advanced by  doxygen 1.5.4