aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2005-04-27 12:41:47 +0000
committerCarsten Weisse <[email protected]>2005-04-27 12:41:47 +0000
commitb3da9eb311d9511f0b717844881e85fecc3b59e7 (patch)
tree34a1033797b2e4706ec62a8df7a8da85fc27ce29 /src
parentc3dc694a595fc216152ea4d9801a9fbf973241b6 (diff)
now we need a lower reference distance (see the modification before)
(better attenuation effects)
Diffstat (limited to 'src')
-rw-r--r--src/jake2/sound/lwjgl/Channel.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jake2/sound/lwjgl/Channel.java b/src/jake2/sound/lwjgl/Channel.java
index a4d0f38..ffa2f8b 100644
--- a/src/jake2/sound/lwjgl/Channel.java
+++ b/src/jake2/sound/lwjgl/Channel.java
@@ -3,7 +3,7 @@
*
* Copyright (C) 2003
*
- * $Id: Channel.java,v 1.4 2005-04-27 12:21:24 cawe Exp $
+ * $Id: Channel.java,v 1.5 2005-04-27 12:41:47 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -121,7 +121,7 @@ public class Channel {
AL10.alSourcei (sourceId, AL10.AL_SOURCE_ABSOLUTE, AL10.AL_TRUE);
AL10.nalSourcefv(sourceId, AL10.AL_VELOCITY, NULLVECTOR, 0);
AL10.alSourcei (sourceId, AL10.AL_LOOPING, AL10.AL_FALSE);
- AL10.alSourcef (sourceId, AL10.AL_REFERENCE_DISTANCE, 300.0f);
+ AL10.alSourcef (sourceId, AL10.AL_REFERENCE_DISTANCE, 200.0f);
AL10.alSourcef (sourceId, AL10.AL_MIN_GAIN, 0.0005f);
AL10.alSourcef (sourceId, AL10.AL_MAX_GAIN, 1.0f);
}