Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

openalpp::AudioBase Class Reference

#include <audiobase.h>

Inheritance diagram for openalpp::AudioBase:

openalpp::Referenced openalpp::AudioEnvironment openalpp::PositionedObject openalpp::SoundData openalpp::Listener openalpp::SourceBase openalpp::Sample openalpp::Stream openalpp::GroupSource openalpp::Source openalpp::FileStream openalpp::InputDevice openalpp::NetStream List of all members.

Protected Member Functions

 AudioBase (int frequency=-1, int refresh=-1, int synchronous=-1) throw (InitError)
virtual ~AudioBase ()

Static Protected Attributes

bool reverbinitiated_
void(* alReverbScale )(ALuint sid, ALfloat param)
void(* alReverbDelay )(ALuint sid, ALfloat param)

Detailed Description

Base class for enviroment, listener and source classes. Takes care of initialisation/shutdown of anything necessary (e.g. ALut)


Constructor & Destructor Documentation

openalpp::AudioBase::AudioBase int  frequency = -1,
int  refresh = -1,
int  synchronous = -1
throw (InitError) [protected]
 

Constructor.

Parameters:
frequency is the output frequency, in Hz.
refresh is the refresh rate, in Hz.
is a flag for syncronous context. Values <0 indicates that the default should be used.

virtual openalpp::AudioBase::~AudioBase  )  [protected, virtual]
 

Destructor.


Member Data Documentation

void(* openalpp::AudioBase::alReverbDelay)(ALuint sid, ALfloat param) [static, protected]
 

Set reverb delay. This pointer will be set by AudioEnviroment::InitiateReverb()

Parameters:
sid is the OpenAL name for the source
param is the reverb delay. Range [0.0,2.0].

void(* openalpp::AudioBase::alReverbScale)(ALuint sid, ALfloat param) [static, protected]
 

Set reverb scale. This pointer will be set by AudioEnviroment::InitiateReverb()

Parameters:
sid is the OpenAL name for the source
param is the reverb scale. Range [0.0,1.0].

bool openalpp::AudioBase::reverbinitiated_ [static, protected]
 

Flag for whether reverb has been initiated. Reverb can be initiated with AudioEnviroment::InitiateReverb()


The documentation for this class was generated from the following file:
Generated on Thu Dec 9 14:08:13 2004 for openalpp by  doxygen 1.3.9.1