Changeset 4210 in orxonox.OLD for orxonox/branches/openAL/src
- Timestamp:
- May 17, 2005, 10:45:05 PM (20 years ago)
- Location:
- orxonox/branches/openAL/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/openAL/src/lib/sound/sound_engine.h
r4209 r4210 11 11 12 12 13 #define SOUND_DOPPLER_FACTOR 0.0 1 //!< A factor for the audible doppler effect14 #define SOUND_DOPPLER_VELOCITY 5000000 00//!< A factor for the TravelSpeed of sound13 #define SOUND_DOPPLER_FACTOR 0.001 //!< A factor for the audible doppler effect 14 #define SOUND_DOPPLER_VELOCITY 5000000 //!< A factor for the TravelSpeed of sound 15 15 16 16 // FORWARD DEFINITION -
orxonox/branches/openAL/src/world_entities/test_gun.cc
r4209 r4210 90 90 this->fireSound = (SoundBuffer*)ResourceManager::getInstance()->load("sound/shot1.wav", WAV); 91 91 this->weaponSource = new SoundSource(this->fireSound, this); 92 this->weaponSource->setRolloffFactor(.1); 92 93 } 93 94
Note: See TracChangeset
for help on using the changeset viewer.