SoundEffectManager Class Reference

A class for managing a large number of sound effects playing on different channels, along with simple prioritizing. More...

#include <SoundEffectManager.h>

List of all members.

Public Member Functions

int playSample (unsigned int sampleNum)
 Plays a sample from storage.
int playSample (unsigned int sampleNum, bool override)
 Plays a sample with the option to override any other sample active.
int playSample (unsigned int sampleNum, bool override, unsigned int overrideChannel)
 Plays a sample and forces it to override any other sample playing in the overrideChannel.
int addSample (char *filename)
 Adds a sample from file to the internal storage.
void setVolume (int volume)
 Sets the volume using SDL_Mixer. Max is 128.
 SoundEffectManager (char *dir)
 Instantiate the sound effect manager from disk.
virtual ~SoundEffectManager ()
 Destruct the sound effect manager, clearing all samples.


Detailed Description

A class for managing a large number of sound effects playing on different channels, along with simple prioritizing.


The documentation for this class was generated from the following files:
Generated on Thu Aug 31 20:26:03 2006 for Propane Injector by  doxygen 1.4.7