aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/sound
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2007-02-27 13:43:02 +0000
committerCarsten Weisse <[email protected]>2007-02-27 13:43:02 +0000
commitfb7a87e51165b5f561aab998b3472bdef1dd8e72 (patch)
tree3259829821e9c893bbef8697041692a4f3c245bf /src/jake2/sound
parent93b0f44f263df04931f8d2c8af35709ebaaedee3 (diff)
clean up
Diffstat (limited to 'src/jake2/sound')
-rw-r--r--src/jake2/sound/joal/Channel.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/jake2/sound/joal/Channel.java b/src/jake2/sound/joal/Channel.java
index a6312fb..4b694ea 100644
--- a/src/jake2/sound/joal/Channel.java
+++ b/src/jake2/sound/joal/Channel.java
@@ -2,8 +2,6 @@
* Created on Jun 19, 2004
*
* Copyright (C) 2003
- *
- * $Id: Channel.java,v 1.10 2006-11-23 13:43:59 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -60,7 +58,6 @@ public class Channel {
private static int[] buffers;
private static Map looptable = new Hashtable(MAX_CHANNELS);
- private static boolean isInitialized = false;
private static int numChannels;
// stream handling
@@ -135,7 +132,6 @@ public class Channel {
al.alSourcef (sourceId, AL.AL_MIN_GAIN, 0.0005f);
al.alSourcef (sourceId, AL.AL_MAX_GAIN, 1.0f);
}
- isInitialized = true;
return numChannels;
}
@@ -150,7 +146,6 @@ public class Channel {
static void shutdown() {
al.alDeleteSources(numChannels, sources, 0);
numChannels = 0;
- isInitialized = false;
}
static void enableStreaming() {