From b3da9eb311d9511f0b717844881e85fecc3b59e7 Mon Sep 17 00:00:00 2001 From: Carsten Weisse Date: Wed, 27 Apr 2005 12:41:47 +0000 Subject: now we need a lower reference distance (see the modification before) (better attenuation effects) --- src/jake2/sound/lwjgl/Channel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jake2/sound/lwjgl/Channel.java') 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); } -- cgit v1.2.3