openalpp::AudioBase Class Reference

Inheritance diagram for openalpp::AudioBase:

openalpp::AudioEnvironment openalpp::PositionedObject openalpp::SoundData openalpp::Listener openalpp::SourceBase openalpp::Sample openalpp::Stream openalpp::GroupSource openalpp::Source openalpp::Capture 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

static bool reverbinitiated_
static void(* alReverbScale )(ALuint sid, ALfloat param)
static 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

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

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

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].

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].


The documentation for this class was generated from the following file:
Generated on Mon Oct 8 10:42:12 2007 for osgAL by  doxygen 1.5.3