sonus::ALApp Class Reference

#include <ALApp.h>

List of all members.

Public Member Functions

 ALApp ()
 ~ALApp ()
void translateListener (ALfloat x, ALfloat y, ALfloat z)
void rotateListener (ALfloat angle)
void rotateListener (ALfloat x, ALfloat y, ALfloat z)
void setMetersPerUnit (ALfloat meters_per_unit)
void createEAXReverbEffect ()
void bindSourceEAXReverbEffect (ALObj *object)


Detailed Description

sonus::ALApp

Initializes the whole OpenAL application. It manages the listener (= what you hear) and all additional effects.

filename: ALApp.h

Author:
Martin Moehwald
Version:
1.0

Constructor & Destructor Documentation

sonus::ALApp::ALApp (  ) 

Constructor Creates the "world" object for sound with a listener.

sonus::ALApp::~ALApp (  ) 

Destructor Deletes effects and shuts down OpenAL.


Member Function Documentation

void sonus::ALApp::translateListener ( ALfloat  x,
ALfloat  y,
ALfloat  z 
)

Set the new AL_POSITION of the listener object.

Parameters:
x The x coordinate position to be set.
y The y coordinate position to be set.
z The z coordinate position to be set.

void sonus::ALApp::rotateListener ( ALfloat  angle  ) 

Set the new AL_ORIENTATION of the listener object.

Parameters:
angle The orientation angle to be set.

void sonus::ALApp::rotateListener ( ALfloat  x,
ALfloat  y,
ALfloat  z 
)

Set the new AL_ORIENTATION of the listener object.

Parameters:
x The x coordinate orientation to be set.
y The y coordinate orientation to be set.
z The z coordinate orientation to be set.

void sonus::ALApp::setMetersPerUnit ( ALfloat  meters_per_unit  ) 

Set the AL_METERS_PER_UNIT. See OpenAL documentation for explanation.

Parameters:
meters_per_unit Set the meters per application unit.

void sonus::ALApp::createEAXReverbEffect (  ) 

Creates a reverb effect.

void sonus::ALApp::bindSourceEAXReverbEffect ( ALObj object  ) 

Define the ALObj object to be bound to the reverb effect.

Parameters:
object The object to be connected to the reverb.


The documentation for this class was generated from the following file:
Generated on Tue Aug 26 12:26:54 2008 for sonus by  doxygen 1.5.4