- Timestamp:
- Dec 8, 2009, 10:15:04 AM (15 years ago)
- File:
-
- 1 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 }
Note: See TracChangeset
for help on using the changeset viewer.