src/engine/eSoundMixer.h File Reference

#include "aa_config.h"
#include "rSDL.h"
#include "tString.h"
#include "tSafePTR.h"
#include <SDL_mixer.h>
#include "tPlayList.h"
#include "sdl_mixer/eChannelSDLMixer.h"
#include <deque>

Include dependency graph for eSoundMixer.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  eSoundMixer

Enumerations

enum  MusicMode { TITLE_TRACK, GUI_TRACK, GRID_TRACK }
enum  SoundEffect {
  CYCLE_TURN, CYCLE_EXPLOSION, ANNOUNCER_1, ANNOUNCER_2,
  ANNOUNCER_3, ANNOUNCER_GO, NEW_MATCH, NEW_ROUND,
  ROUND_WINNER, MATCH_WINNER, ZONE_SPAWN, CYCLE_MOTOR,
  CYCLE_GRIND_WALL
}

Functions

void se_SoundMenu ()

Variables

char const * MusicModeString []
char const * SoundEffectString []


Enumeration Type Documentation

enum MusicMode

Enumerator:
TITLE_TRACK 
GUI_TRACK 
GRID_TRACK 

Definition at line 54 of file eSoundMixer.h.

enum SoundEffect

Enumerator:
CYCLE_TURN 
CYCLE_EXPLOSION 
ANNOUNCER_1 
ANNOUNCER_2 
ANNOUNCER_3 
ANNOUNCER_GO 
NEW_MATCH 
NEW_ROUND 
ROUND_WINNER 
MATCH_WINNER 
ZONE_SPAWN 
CYCLE_MOTOR 
CYCLE_GRIND_WALL 

Definition at line 58 of file eSoundMixer.h.

00059                  {
00060     CYCLE_TURN,
00061     CYCLE_EXPLOSION,
00062     ANNOUNCER_1,
00063     ANNOUNCER_2,
00064     ANNOUNCER_3,
00065     ANNOUNCER_GO,
00066     NEW_MATCH,
00067     NEW_ROUND,
00068     ROUND_WINNER,
00069     MATCH_WINNER,
00070     ZONE_SPAWN,
00071     CYCLE_MOTOR,
00072     CYCLE_GRIND_WALL


Function Documentation

void se_SoundMenu (  ) 

Definition at line 856 of file eSound.cpp.

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

Referenced by MainMenu().

00856                    {
00857     //  se_SoundPause(true);
00858     //  se_SoundLock();
00859     int oldsettings=sound_quality;
00860     int oldshift=buffer_shift;
00861     Sound_menu.Enter();
00862     if (oldsettings!=sound_quality || oldshift!=buffer_shift){
00863         se_SoundExit();
00864         se_SoundInit();
00865     }
00866     //  se_SoundUnlock();
00867     //  se_SoundPause(false);
00868 }

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

char const* MusicModeString[]

Definition at line 72 of file eSoundMixer.cpp.

char const* SoundEffectString[]

Definition at line 81 of file eSoundMixer.cpp.

Referenced by eSoundMixer::PlayContinuous().


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