- Timestamp:
- Dec 9, 2009, 10:09:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/sound/BaseSound.cc
r6285 r6307 46 46 , bPooling_(false) 47 47 , volume_(1.0) 48 , bLoop _(false)48 , bLooping_(false) 49 49 , state_(Stopped) 50 50 , pitch_ (1.0) … … 151 151 void BaseSound::setLooping(bool val) 152 152 { 153 this->bLoop _ = val;153 this->bLooping_ = val; 154 154 if (GameMode::playsSound() && alIsSource(this->audioSource_)) 155 155 alSourcei(this->audioSource_, AL_LOOPING, (val ? AL_TRUE : AL_FALSE)); … … 204 204 if (ALuint error = alGetError()) 205 205 { 206 COUT(1) << "Sound Error: Could not load file \"" << source << "\": " << SoundManager::getALErrorString << std::endl;206 COUT(1) << "Sound Error: Could not load file \"" << source << "\": " << SoundManager::getALErrorString(error) << std::endl; 207 207 return; 208 208 }
Note: See TracChangeset
for help on using the changeset viewer.