#include <SND_IScene.h>
Inheritance diagram for SND_IScene:
Public Methods | |
SND_IScene () | |
virtual | ~SND_IScene () |
virtual void | proceed (double curtime,double deltatime) = 0 |
each frame, a proceed will be called, that updates all soundobjects (position, volume, start/stop sound etc.). | |
virtual bool | init () = 0 |
initialize the sound scene and soundlibrary. | |
virtual void | exit () = 0 |
terminate the sound scene and soundlibrary. | |
virtual void | addObject (SND_SoundObject* object) = 0 |
add a soundobject to the scene. | |
virtual void | removeObject (SND_SoundObject* object) = 0 |
remove a soundobject to the scene, when it is playing, stop it. | |
virtual SND_SoundListener* | getListener () = 0 |
virtual void | SetListenerPosition (const MT_Point3& pos) = 0 |
A specific soundscene will make a connection to a lowlevel (hardware) soundlibrary like OpenAL or FMod
Definition at line 21 of file SND_IScene.h.
|
Definition at line 24 of file SND_IScene.h. |
|
Definition at line 25 of file SND_IScene.h. |
|
Reimplemented in OpenALScene. Referenced by ExampleEngine::MainLoopCallback(). |
|
add a soundobject to the scene.
Reimplemented in OpenALScene. Referenced by CreateSampleLogic(). |
|
terminate the sound scene and soundlibrary.
Reimplemented in OpenALScene. |
|
Reimplemented in OpenALScene. |
|
initialize the sound scene and soundlibrary.
Reimplemented in OpenALScene. Referenced by CreateSoundScene(). |
|
each frame, a proceed will be called, that updates all soundobjects (position, volume, start/stop sound etc.).
Reimplemented in OpenALScene. Referenced by KX_KetsjiEngine::MainLoopCallback(), and ExampleEngine::MainLoopCallback(). |
|
remove a soundobject to the scene, when it is playing, stop it.
Reimplemented in OpenALScene. |