Changeset 4200 in orxonox.OLD for orxonox/branches/openAL/src/lib/sound/sound_engine.cc
- Timestamp:
- May 16, 2005, 11:46:23 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/openAL/src/lib/sound/sound_engine.cc
r4198 r4200 74 74 // alSourcefv(sourceID, AL_POSITION, SourcePos); 75 75 // alSourcefv(sourceID, AL_VELOCITY, SourceVel); 76 alSourcei (sourceID, AL_LOOPING, true ); 77 78 76 alSourcei (sourceID, AL_LOOPING, true ); 79 77 } 80 78 … … 98 96 alSourcePause(this->sourceID); 99 97 } 98 99 void SoundSource::setRolloffFactor(ALfloat rolloffFactor) 100 { 101 alSourcef(this->sourceID, AL_ROLLOFF_FACTOR, rolloffFactor); 102 } 103 100 104 101 105 … … 221 225 alutInit(NULL, 0); 222 226 alGetError(); 223 } 224 227 228 alDopplerFactor(SOUND_DOPPLER_FACTOR); 229 alDopplerVelocity(SOUND_DOPPLER_VELOCITY); 230 } 231
Note: See TracChangeset
for help on using the changeset viewer.