Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members
E:/Programming/MyProject/K_Game_hg/GameEngine/include/sound/SoundDriver.h
Go to the documentation of this file.
00001 // Copyright 2006-2011 by Kat'Oun
00002 
00003 #ifndef _SOUND_DRIVER_H_
00004 #define _SOUND_DRIVER_H_
00005 
00006 #include <EngineConfig.h>
00007 #include <core/Types.h>
00008 
00009 namespace core
00010 {
00011 class vector3d;
00012 class quaternion;
00013 }
00014 
00015 namespace sound
00016 {
00017 
00018 class Sound;
00019 class SoundData;
00020 class Listener;
00021 
00030 class ENGINE_PUBLIC_EXPORT SoundDriver
00031 {
00032 public:
00033 
00034         // Default Constructor
00035         SoundDriver();
00036 
00037         // Destructor
00038         virtual ~SoundDriver();
00039 
00040         virtual void initialize();
00041 
00042         virtual void start();
00043 
00044         virtual void update(f32 elapsedTime);
00045 
00046         virtual void stop();
00047 
00048         virtual void updateListener(Listener* listener) = 0;
00049         
00050         virtual void setDopplerFactor(f32 dopplerFactor);
00051 
00052         virtual void setSoundSpeed(f32 soundSpeed);
00053 };
00054 
00055 } // end namespace sound
00056 
00057 #endif

The KG Game Engine
The KG Game Engine Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:05 by Doxygen (1.7.4)