Changeset 5885 in orxonox.OLD for trunk/src/lib/sound
- Timestamp:
- Dec 3, 2005, 1:29:42 PM (19 years ago)
- Location:
- trunk/src/lib/sound
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/sound/sound_engine.cc
r5856 r5885 137 137 if (this->sourceList != NULL) 138 138 { 139 list<BaseObject*>:: iterator source;139 list<BaseObject*>::const_iterator source; 140 140 for (source = this->sourceList->begin(); source != this->sourceList->end(); source++) 141 141 { … … 182 182 if (likely(this->sourceList != NULL)) 183 183 { 184 list<BaseObject*>:: iterator sourceIT;184 list<BaseObject*>::const_iterator sourceIT; 185 185 SoundSource* source; 186 186 for (sourceIT = this->sourceList->begin(); sourceIT != this->sourceList->end(); sourceIT++) -
trunk/src/lib/sound/sound_engine.h
r5819 r5885 66 66 67 67 private: 68 static SoundEngine* singletonRef; //!< Reference to this class68 static SoundEngine* singletonRef; //!< Reference to this class 69 69 70 ALCdevice* device; //!< the used audio-device.71 ALCcontext* context; //!< the context, currently in use.70 ALCdevice* device; //!< the used audio-device. 71 ALCcontext* context; //!< the context, currently in use. 72 72 73 float musicVolume; //!< the maximum volume of the music in % (0f,1f]74 float effectsVolume; //!< the maximum volume of sound-effects in % (0f,1f]75 PNode* listener; //!< The listener of the Scene73 float musicVolume; //!< the maximum volume of the music in % (0f,1f] 74 float effectsVolume; //!< the maximum volume of sound-effects in % (0f,1f] 75 PNode* listener; //!< The listener of the Scene 76 76 77 std::list<BaseObject*>* bufferList; //!< A list of buffers78 std::list<BaseObject*>* sourceList; //!< A list for all the sources in the scene.77 const std::list<BaseObject*>* bufferList; //!< A list of buffers 78 const std::list<BaseObject*>* sourceList; //!< A list for all the sources in the scene. 79 79 80 80
Note: See TracChangeset
for help on using the changeset viewer.