Changeset 6271 for code/branches/presentation2/src/orxonox
- Timestamp:
- Dec 8, 2009, 10:15:04 AM (15 years ago)
- Location:
- code/branches/presentation2/src/orxonox/sound
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/sound/BaseSound.cc
r6270 r6271 57 57 if (!alIsSource(this->audioSource_)) 58 58 COUT(1) << "Sound: Source generation failed: " << SoundManager::getALErrorString(alGetError()) << std::endl; 59 60 if (alIsSource(this->audioSource_)) 61 { 62 alSourcei(this->audioSource_, AL_REFERENCE_DISTANCE, 20); 63 alSourcei(this->audioSource_, AL_MAX_DISTANCE, 300); 64 } 59 65 } 60 66 } -
code/branches/presentation2/src/orxonox/sound/SoundManager.cc
r6270 r6271 154 154 { 155 155 this->processCrossFading(time.getDeltaTime()); 156 alcProcessContext(this->context_);157 156 } 158 157
Note: See TracChangeset
for help on using the changeset viewer.