Soundbank Class Reference

manage sounds, using Audiere library More...

#include <Soundbank.h>

List of all members.

Public Member Functions

 ~Soundbank ()
 Destructor.
void loadSound (const char *pathname)
 load sound
void playSound (int id) const
 play sound. The id of a sound is defined by order of loading (first sound id = 0)
bool isPlayingSound (int id)
 test if the sound is loaded
void showConsole (void)
 show all loaded sounds in the console
void freeAll (void)
 remove all sounds

Friends

void initIrrsimple (void)
 init all - first function to call before calling the others


Detailed Description

manage sounds, using Audiere library


Constructor & Destructor Documentation

Soundbank::~Soundbank  ) 
 

Destructor.


Member Function Documentation

void Soundbank::freeAll void   ) 
 

remove all sounds

bool Soundbank::isPlayingSound int  id  ) 
 

test if the sound is loaded

void Soundbank::loadSound const char *  pathname  ) 
 

load sound

void Soundbank::playSound int  id  )  const
 

play sound. The id of a sound is defined by order of loading (first sound id = 0)

void Soundbank::showConsole void   ) 
 

show all loaded sounds in the console


Friends And Related Function Documentation

void initIrrsimple void   )  [friend]
 

init all - first function to call before calling the others


The documentation for this class was generated from the following files:
Generated on Sun Aug 6 10:28:52 2006 for irrsimple by  doxygen 1.4.6-NO