Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4210 in orxonox.OLD


Ignore:
Timestamp:
May 17, 2005, 10:45:05 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/openAL: better values for the Sound-RollOff

Location:
orxonox/branches/openAL/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/openAL/src/lib/sound/sound_engine.h

    r4209 r4210  
    1111
    1212
    13 #define SOUND_DOPPLER_FACTOR     0.01          //!< A factor for the audible doppler effect
    14 #define SOUND_DOPPLER_VELOCITY   500000000     //!< A factor for the TravelSpeed of sound
     13#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
    1515
    1616// FORWARD DEFINITION
  • orxonox/branches/openAL/src/world_entities/test_gun.cc

    r4209 r4210  
    9090  this->fireSound = (SoundBuffer*)ResourceManager::getInstance()->load("sound/shot1.wav", WAV);
    9191  this->weaponSource = new SoundSource(this->fireSound, this);
     92  this->weaponSource->setRolloffFactor(.1);
    9293}
    9394
Note: See TracChangeset for help on using the changeset viewer.