#include <soundserver.h>
Inheritance diagram for kerosin::SoundServer:


Public Types | |
| enum | ESoundQuality { SOUNDQUALITY_BEST = 48000, SOUNDQUALITY_GOOD = 44100, SOUNDQUALITY_AVERAGE = 22000, SOUNDQUALITY_BAD = 11000, SOUNDQUALITY_VERYBAD = 8000 } |
Public Member Functions | |
| SoundServer () | |
| virtual | ~SoundServer () |
| bool | Init (const std::string &sndSysName) |
| float | GetCPU () |
| boost::shared_ptr< SoundEffect > | LoadEffect (const std::string &inName) |
| boost::shared_ptr< SoundStream > | LoadStream (const std::string &inName) |
| boost::shared_ptr< SoundModule > | LoadModule (const std::string &inName) |
Private Types | |
| typedef std::map< std::string, boost::shared_ptr< SoundObject > > | TSoundHashMap |
Private Member Functions | |
| void | Reset () |
| this function resets the cached sounds in the hashmaps | |
| bool | LoadSoundObject (const std::string &inName, const TSoundHashMap &map, boost::shared_ptr< SoundObject > &soundObject) const |
| a helper function which wraps some common loading code (trivial rejects, etc..) | |
| SoundServer (const SoundServer &) | |
| SoundServer & | operator= (const SoundServer &) |
Private Attributes | |
| boost::shared_ptr< SoundSystem > | mSoundSystem |
| TSoundHashMap | mEffects |
| TSoundHashMap | mModules |
| TSoundHashMap | mStreams |
| ESoundQuality | mQuality |
Definition at line 66 of file soundserver.h.
|
|
Definition at line 85 of file soundserver.h. |
|
|
Definition at line 73 of file soundserver.h. |
|
|
Definition at line 44 of file soundserver.cpp. |
|
|
Definition at line 48 of file soundserver.cpp. References Reset(). Here is the call graph for this function: ![]() |
|
|
|
|
|
Definition at line 79 of file soundserver.cpp. References mSoundSystem. |
|
|
Definition at line 53 of file soundserver.cpp. References zeitgeist::Object::GetCore(), zeitgeist::Object::GetLog(), mQuality, mSoundSystem, and Reset(). Here is the call graph for this function: ![]() |
|
|
|
|
|
|
|
||||||||||||||||
|
a helper function which wraps some common loading code (trivial rejects, etc..)
Definition at line 215 of file soundserver.cpp. References zeitgeist::Object::GetLog(), and mSoundSystem. Here is the call graph for this function: ![]() |
|
|
|
|
|
|
|
|
this function resets the cached sounds in the hashmaps
Definition at line 202 of file soundserver.cpp. References mEffects, mModules, mSoundSystem, and mStreams. Referenced by Init(), and ~SoundServer(). |
|
|
Definition at line 115 of file soundserver.h. Referenced by Reset(). |
|
|
Definition at line 116 of file soundserver.h. Referenced by Reset(). |
|
|
Definition at line 120 of file soundserver.h. Referenced by Init(). |
|
|
Definition at line 113 of file soundserver.h. Referenced by GetCPU(), Init(), LoadSoundObject(), and Reset(). |
|
|
Definition at line 117 of file soundserver.h. Referenced by Reset(). |
1.4.4