[Orxonox-commit 3165] r7858 - code/trunk/src/orxonox/sound
landauf at orxonox.net
landauf at orxonox.net
Sat Feb 12 11:30:34 CET 2011
Author: landauf
Date: 2011-02-12 11:30:33 +0100 (Sat, 12 Feb 2011)
New Revision: 7858
Modified:
code/trunk/src/orxonox/sound/BaseSound.cc
code/trunk/src/orxonox/sound/SoundManager.cc
code/trunk/src/orxonox/sound/SoundManager.h
Log:
removed some spaces
Modified: code/trunk/src/orxonox/sound/BaseSound.cc
===================================================================
--- code/trunk/src/orxonox/sound/BaseSound.cc 2011-02-11 16:17:39 UTC (rev 7857)
+++ code/trunk/src/orxonox/sound/BaseSound.cc 2011-02-12 10:30:33 UTC (rev 7858)
@@ -108,7 +108,7 @@
// Get a no source ID
this->audioSource_ += 123455;
while (alIsSource(++this->audioSource_));
-
+
return true; // sound source destroyed - return true
}
return false; // nothing done - return false
Modified: code/trunk/src/orxonox/sound/SoundManager.cc
===================================================================
--- code/trunk/src/orxonox/sound/SoundManager.cc 2011-02-11 16:17:39 UTC (rev 7857)
+++ code/trunk/src/orxonox/sound/SoundManager.cc 2011-02-12 10:30:33 UTC (rev 7858)
@@ -69,7 +69,7 @@
: effectsPoolSize_(0)
{
RegisterRootObject(SoundManager);
-
+
this->bDestructorCalled_ = false;
// See whether we even want to load
Modified: code/trunk/src/orxonox/sound/SoundManager.h
===================================================================
--- code/trunk/src/orxonox/sound/SoundManager.h 2011-02-11 16:17:39 UTC (rev 7857)
+++ code/trunk/src/orxonox/sound/SoundManager.h 2011-02-12 10:30:33 UTC (rev 7858)
@@ -145,7 +145,7 @@
unsigned int maxSources_;
std::vector<ALuint> availableSoundSources_;
std::vector<std::pair<ALuint, BaseSound*> > usedSoundSources_;
-
+
bool bDestructorCalled_; ///< Becomes true if the destructor is called - used to prevent ambient sounds from registering after the lists were cleared
static SoundManager* singletonPtr_s;
More information about the Orxonox-commit
mailing list