diff options
author | Carsten Weisse <[email protected]> | 2006-11-19 19:16:05 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2006-11-19 19:16:05 +0000 |
commit | 5ff708533427bbace50025e23b21e3aaa3713d12 (patch) | |
tree | 5e789f6fa15167eef99b85f3d81a3687d0a1a609 /src | |
parent | 3d0f3c7e71c517bf771a4003fa5424b8c97c5dcd (diff) |
replace AL_SOURCE_ABSOLUTE (no standard)
Diffstat (limited to 'src')
-rw-r--r-- | src/jake2/sound/lwjgl/Channel.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jake2/sound/lwjgl/Channel.java b/src/jake2/sound/lwjgl/Channel.java index 7162391..0833a63 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.6.6.1 2005-12-25 18:16:38 cawe Exp $ + * $Id: Channel.java,v 1.6.6.2 2006-11-19 19:16:05 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -123,7 +123,7 @@ public class Channel { // set default values for AL sources AL10.alSourcef (sourceId, AL10.AL_GAIN, 1.0f); AL10.alSourcef (sourceId, AL10.AL_PITCH, 1.0f); - AL10.alSourcei (sourceId, AL10.AL_SOURCE_ABSOLUTE, AL10.AL_TRUE); + AL10.alSourcei (sourceId, AL10.AL_SOURCE_RELATIVE, AL10.AL_FALSE); AL10.nalSourcefv(sourceId, AL10.AL_VELOCITY, NULLVECTOR, 0); AL10.alSourcei (sourceId, AL10.AL_LOOPING, AL10.AL_FALSE); AL10.alSourcef (sourceId, AL10.AL_REFERENCE_DISTANCE, 200.0f); |