StarTrekV3_Linux  Version3
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Pages
SoundManager.h File Reference
#include <vector>
#include <list>
#include <string>
#include <allegro5/allegro.h>
#include <allegro5/allegro_audio.h>
#include <allegro5/allegro_acodec.h>

Go to the source code of this file.

Classes

class  SoundManager::SoundManagerException
 

Namespaces

 SOUND
 
 SoundManager
 

Enumerations

enum  SOUND::SOUNDNAME {
  SOUND::PHOTON = 0, SOUND::EXPLOSION_SMALL, SOUND::EXPLOSION_MED, SOUND::PHASER,
  SOUND::INTERCOM, SOUND::ON, SOUND::OFF, SOUND::DISRUPTOR = 11,
  SOUND::SND_END
}
 

Functions

void SoundManager::Init_SoundManager (int a_nNumberOfSamples)
 
void SoundManager::DeInit_SoundManager ()
 
void SoundManager::LoadSounds ()
 
void SoundManager::PlaySound (SOUND::SOUNDNAME a_Name, double a_dVolume)
 
void SoundManager::LoopSound (SOUND::SOUNDNAME a_Name, double a_dVolume, ALLEGRO_SAMPLE_ID *a_rID)
 
void SoundManager::StopSound (ALLEGRO_SAMPLE_ID *a_ID)