#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>
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 PLAYLIST_CUSTOM 1 |
Definition at line 61 of file eSoundMixer.cpp.
#define PLAYLIST_INTERNAL 0 |
#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.
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.
float buffersize = 4.0 |
tConfItemLine cpl("CUSTOM_MUSIC_PLAYLIST", customPlaylist) [static] |
tString customPlaylist("") [static] |
Referenced by eSoundMixer::LoadPlaylist().
Referenced by eSoundMixer::Init().
int musicActive = 1 |
char const* MusicModeString[] |
Initial value:
{ "Title track", "GUI track", "In-game track" }
Definition at line 72 of file eSoundMixer.cpp.
int musicVolume = 64 |
int numSoundcardChannels = 2 |
tString playListFile("music/default.m3u") |
Referenced by eSoundMixer::LoadPlaylist().
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().
tConfItemLine ste("GUI_TRACK", guiTrack) [static] |
tConfItemLine stp("MUSIC_PLAYLIST", playListFile) [static] |
tConfItemLine stt("TITLE_TRACK", titleTrack) [static] |
Referenced by gWallRim::RenderReal().
tString titleTrack("music/titletrack.ogg") |
Referenced by eSoundMixer::Init().
int usePlaylist = 0 [static] |