Changeset 8284 for code/branches/kicklib2/src/orxonox/sound/SoundManager.cc
- Timestamp:
- Apr 21, 2011, 6:58:23 PM (14 years ago)
- Location:
- code/branches/kicklib2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib2
- Property svn:mergeinfo changed
-
code/branches/kicklib2/src/orxonox/sound/SoundManager.cc
r7858 r8284 31 31 #include "SoundManager.h" 32 32 33 #include <AL/alut.h>34 33 #include <utility> 34 #include <alut.h> 35 35 #include <loki/ScopeGuard.h> 36 36 … … 73 73 this->bDestructorCalled_ = false; 74 74 75 // Clear error messages (might be problematic on some systems) 76 alGetError(); 77 alutGetError(); 78 75 79 // See whether we even want to load 76 80 bool bDisableSound_ = false; … … 78 82 if (bDisableSound_) 79 83 ThrowException(InitialisationAborted, "Sound: Not loading at all"); 80 81 84 if (!alutInitWithoutContext(NULL, NULL)) 82 85 ThrowException(InitialisationFailed, "Sound Error: ALUT initialisation failed: " << alutGetErrorString(alutGetError()));
Note: See TracChangeset
for help on using the changeset viewer.