From 1b9c9dac62f2853d8b8fcce8652d57ae97301506 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Mon, 28 Jul 2003 05:32:04 +0000 Subject: [PATCH] Decreased the maximum number of sound spoolers to 10. What was I smoking when I set it to 24? Let's try it like this for a spell. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2734 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/java/com/threerings/media/sound/SoundManager.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/java/com/threerings/media/sound/SoundManager.java b/src/java/com/threerings/media/sound/SoundManager.java index 104b61c2f..1fc096928 100644 --- a/src/java/com/threerings/media/sound/SoundManager.java +++ b/src/java/com/threerings/media/sound/SoundManager.java @@ -1,5 +1,5 @@ // -// $Id: SoundManager.java,v 1.64 2003/07/12 03:59:54 mdb Exp $ +// $Id: SoundManager.java,v 1.65 2003/07/28 05:32:04 ray Exp $ package com.threerings.media.sound; @@ -33,8 +33,6 @@ import javax.sound.sampled.Mixer; import javax.sound.sampled.SourceDataLine; import javax.sound.sampled.UnsupportedAudioFileException; -import javax.swing.Timer; - import org.apache.commons.io.StreamUtils; import org.apache.commons.lang.Constant; @@ -1103,7 +1101,7 @@ public class SoundManager protected static final long MAX_WAIT_TIME = 30000L; /** The maximum number of spoolers we'll allow. This is a lot. */ - protected static final int MAX_SPOOLERS = 24; + protected static final int MAX_SPOOLERS = 10; /** The time we sleep if it's not safe to drain. */ protected static final long NO_DRAIN_SLEEP_TIME = 3000L;