]> git.mxchange.org Git - simgear.git/commitdiff
Tweak the doppler effect.
authorehofman <ehofman>
Fri, 4 Jun 2004 16:59:12 +0000 (16:59 +0000)
committerehofman <ehofman>
Fri, 4 Jun 2004 16:59:12 +0000 (16:59 +0000)
simgear/sound/soundmgr_openal.cxx

index 7c7b89b6f289dcc0472d2a5a1ff548fca0c609f5..daf0729e856ecc46968ccfc65b44045dfbef8beb 100644 (file)
@@ -86,6 +86,7 @@ SGSoundMgr::SGSoundMgr() {
 
     // exaggerate the ear candy?
     alDopplerFactor(1.0);
+    alDopplerVelocity(340.0);  // speed of sound in meters per second.
 }
 
 // destructor