Changeset 3108 for code/trunk/src/orxonox/sound/SoundBase.cc
- Timestamp:
- May 29, 2009, 12:46:24 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/sound/SoundBase.cc
r3078 r3108 97 97 alSourcei(this->source_, AL_LOOPING, AL_FALSE); 98 98 alSourcePlay(this->source_); 99 100 if(alGetError() != AL_NO_ERROR) 101 { 102 COUT(2) << "Sound: OpenAL: Error playin sound " << this->source_ << std::endl; 103 } 99 104 } 100 105 } … … 161 166 alGenSources(1, &this->source_); 162 167 alSourcei(this->source_, AL_BUFFER, this->buffer_); 163 // ALenum164 168 if(alGetError() != AL_NO_ERROR) { 165 169 COUT(2) << "Sound: OpenAL: Error loading sample file: " << filename << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.