Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Audio Class Reference

#include <Audio.h>

List of all members.

Public Methods

 Audio ()
virtual ~Audio ()
ALuint createSound (string filename, Vector3 position, Vector3 velocity)
OggStreamcreateSound (string filename)
void deleteSound (ALuint buffer)
void changePosition (ALuint buffer, Vector3 position)
void changeListenerPosition (Vector3 position)

Protected Attributes

ALuint _soundList [100]
int _numSounds
vector< string > _soundNames
map< string, OggStream * > _soundMap


Detailed Description

Static class to load sound buffers


Constructor & Destructor Documentation

Audio::Audio  
 

Audio::~Audio   [virtual]
 


Member Function Documentation

void Audio::changeListenerPosition Vector3    position
 

Change listener position

void Audio::changePosition ALuint    buffer,
Vector3    position
 

Change the position of a sound

OggStream * Audio::createSound string    filename
 

ALuint Audio::createSound string    filename,
Vector3    position,
Vector3    velocity
 

create a sound buffer from a filename

void Audio::deleteSound ALuint    buffer
 

Delete a sound buffer


Member Data Documentation

int Audio::_numSounds [protected]
 

ALuint Audio::_soundList[100] [protected]
 

map< string, OggStream *> Audio::_soundMap [protected]
 

vector< string> Audio::_soundNames [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Apr 21 11:11:06 2004 for naturecalls by doxygen1.2.18