Changeset 4985 in orxonox.OLD for orxonox/trunk/src/lib/sound/sound_engine.h
- Timestamp:
- Aug 12, 2005, 12:55:21 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/sound/sound_engine.h
r4961 r4985 16 16 class PNode; 17 17 template<class T> class tList; 18 class IniParser; 18 19 19 20 … … 75 76 inline static SoundEngine* getInstance() { if (!singletonRef) singletonRef = new SoundEngine(); return singletonRef; }; 76 77 78 void loadSettings(IniParser* iniParser); 79 77 80 SoundSource* createSource(const char* fileName, PNode* sourceNode = NULL); 78 81 … … 81 84 void setDopplerValues(ALfloat dopplerFactor, ALfloat dopplerVelocity); 82 85 86 87 /** @returns the Music Volume in % */ 88 inline float getMusicVolume() { return this->musicVolume; }; 89 /** @returns the Effects Volume in % */ 90 inline float getEffectsVolume() { return this->effectsVolume; }; 83 91 84 92 void update(); … … 106 114 static SoundEngine* singletonRef; //!< Reference to this class 107 115 108 116 float musicVolume; //!< the maximum volume of the music in % (0f,1f] 117 float effectsVolume; //!< the maximum volume of sound-effects in % (0f,1f] 109 118 PNode* listener; //!< The listener of the Scene 110 119 tList<BaseObject>* bufferList; //!< A list of buffers
Note: See TracChangeset
for help on using the changeset viewer.