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

OpenALScene Class Reference

#include <OpenALScene.h>

Inheritance diagram for OpenALScene:

SND_IScene List of all members.

Public Methods

 OpenALScene ()
 ~OpenALScene ()
void proceed (double curtime,double deltatime)
 each frame, a proceed will be called, that updates all soundobjects (position, volume, start/stop sound etc.). More...

bool init ()
 initialize the sound scene and soundlibrary. More...

void exit ()
 terminate the sound scene and soundlibrary. More...

void addObject (SND_SoundObject* object)
 add a soundobject to the scene. More...

void removeObject (SND_SoundObject* object)
 remove a soundobject to the scene, when it is playing, stop it. More...

void setAudio (bool audio)
virtual void SetListenerPosition (const MT_Point3& pos)
bool isAudio ()
SND_SoundListenergetListener ()
unsigned int* getSources ()
unsigned int* getBuffers ()

Constructor & Destructor Documentation

OpenALScene::OpenALScene ( )
 

Definition at line 476 of file OpenALScene.cpp.

OpenALScene::~OpenALScene ( )
 

Definition at line 487 of file OpenALScene.cpp.


Member Function Documentation

void OpenALScene::SetListenerPosition ( const MT_Point3 & pos ) [virtual]
 

Reimplemented from SND_IScene.

Definition at line 543 of file OpenALScene.cpp.

void OpenALScene::addObject ( SND_SoundObject * object ) [virtual]
 

add a soundobject to the scene.

Reimplemented from SND_IScene.

Definition at line 501 of file OpenALScene.cpp.

Referenced by BL_ConvertActuators().

void OpenALScene::exit ( ) [virtual]
 

terminate the sound scene and soundlibrary.

Reimplemented from SND_IScene.

Definition at line 539 of file OpenALScene.cpp.

Referenced by KX_Scene::~KX_Scene().

unsigned int * OpenALScene::getBuffers ( ) [inline]
 

Definition at line 49 of file OpenALScene.h.

SND_SoundListener * OpenALScene::getListener ( ) [inline, virtual]
 

Reimplemented from SND_IScene.

Definition at line 47 of file OpenALScene.h.

unsigned int * OpenALScene::getSources ( ) [inline]
 

Definition at line 48 of file OpenALScene.h.

bool OpenALScene::init ( ) [virtual]
 

initialize the sound scene and soundlibrary.

Reimplemented from SND_IScene.

Definition at line 491 of file OpenALScene.cpp.

bool OpenALScene::isAudio ( ) [inline]
 

Definition at line 46 of file OpenALScene.h.

void OpenALScene::proceed ( double curtime,
double deltatime ) [virtual]
 

each frame, a proceed will be called, that updates all soundobjects (position, volume, start/stop sound etc.).

Reimplemented from SND_IScene.

Definition at line 531 of file OpenALScene.cpp.

void OpenALScene::removeObject ( SND_SoundObject * object ) [virtual]
 

remove a soundobject to the scene, when it is playing, stop it.

Reimplemented from SND_IScene.

Definition at line 535 of file OpenALScene.cpp.

void OpenALScene::setAudio ( bool audio ) [inline]
 

Definition at line 43 of file OpenALScene.h.

Referenced by OpenALScene().


The documentation for this class was generated from the following files:
Generated at Thu Feb 1 13:03:47 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000