Changeset 7858
- Timestamp:
- Feb 12, 2011, 11:30:33 AM (14 years ago)
- Location:
- code/trunk/src/orxonox/sound
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/sound/BaseSound.cc
r7856 r7858 109 109 this->audioSource_ += 123455; 110 110 while (alIsSource(++this->audioSource_)); 111 111 112 112 return true; // sound source destroyed - return true 113 113 } -
code/trunk/src/orxonox/sound/SoundManager.cc
r7856 r7858 70 70 { 71 71 RegisterRootObject(SoundManager); 72 72 73 73 this->bDestructorCalled_ = false; 74 74 -
code/trunk/src/orxonox/sound/SoundManager.h
r7855 r7858 146 146 std::vector<ALuint> availableSoundSources_; 147 147 std::vector<std::pair<ALuint, BaseSound*> > usedSoundSources_; 148 148 149 149 bool bDestructorCalled_; ///< Becomes true if the destructor is called - used to prevent ambient sounds from registering after the lists were cleared 150 150
Note: See TracChangeset
for help on using the changeset viewer.