Changeset 8521 for code/trunk/src/orxonox/sound/BaseSound.cc
- Timestamp:
- May 20, 2011, 9:46:05 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/sound/BaseSound.cc
r8514 r8521 51 51 { 52 52 RegisterRootObject(BaseSound); 53 54 if (int error = alGetError())55 COUT(4) << "Sound: Received ALError before alIsSource(): " << SoundManager::getALErrorString(error) << std::endl;56 53 57 54 // Initialise audioSource_ to a value that is not a source … … 59 56 // HACK! 60 57 this->audioSource_ = 0; 61 while (alIsSource(++this->audioSource_)); 62 63 if (int error = alGetError()) 64 COUT(4) << "Sound: Received ALError after alIsSource(): " << SoundManager::getALErrorString(error) << std::endl; 58 //while (alIsSource(++this->audioSource_)); 65 59 } 66 60
Note: See TracChangeset
for help on using the changeset viewer.