aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/jake2/sound/joal/Channel.java3
-rw-r--r--src/jake2/sound/lwjgl/Channel.java3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/jake2/sound/joal/Channel.java b/src/jake2/sound/joal/Channel.java
index 09d2c16..51d111b 100644
--- a/src/jake2/sound/joal/Channel.java
+++ b/src/jake2/sound/joal/Channel.java
@@ -3,7 +3,7 @@
*
* Copyright (C) 2003
*
- * $Id: Channel.java,v 1.8 2006-11-23 12:32:49 cawe Exp $
+ * $Id: Channel.java,v 1.9 2006-11-23 13:13:58 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -107,6 +107,7 @@ public class Channel {
Channel.buffers = buffers;
// create channels
int sourceId;
+ numChannels = 0;
for (int i = 0; i < MAX_CHANNELS; i++) {
try {
diff --git a/src/jake2/sound/lwjgl/Channel.java b/src/jake2/sound/lwjgl/Channel.java
index 0ef06dd..4a0d5f0 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.10 2006-11-23 12:32:49 cawe Exp $
+ * $Id: Channel.java,v 1.11 2006-11-23 13:13:57 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -107,6 +107,7 @@ public class Channel {
Channel.buffers = buffers;
// create channels
int sourceId;
+ numChannels = 0;
for (int i = 0; i < MAX_CHANNELS; i++) {
try {