From e46e126604adcd7b8177328e496cb2892f4535a6 Mon Sep 17 00:00:00 2001 From: Dave Hoover Date: Mon, 5 Nov 2007 19:58:43 +0000 Subject: [PATCH] Cut this back; 16 seems to be adequate, and with how everything's structured right now, we only cancel looping sounds after working with a full buffer's worth of audio, so going too large is problematic. It'd probably be a Good Thing to do something a little fancier for cancelling looping sounds more immediately, but for now, we'll stick with close to what's been the status quo for years. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@331 ed5b42cb-e716-0410-a449-f6a68f950b19 --- src/java/com/threerings/media/sound/SoundManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/com/threerings/media/sound/SoundManager.java b/src/java/com/threerings/media/sound/SoundManager.java index 90b755cb..cb6992f3 100644 --- a/src/java/com/threerings/media/sound/SoundManager.java +++ b/src/java/com/threerings/media/sound/SoundManager.java @@ -1044,7 +1044,7 @@ public class SoundManager protected static final long MAX_SOUND_DELAY = 400L; /** The size of the line's buffer. */ - protected static final int LINEBUF_SIZE = 32 * 1024; + protected static final int LINEBUF_SIZE = 16 * 1024; /** The maximum time a spooler will wait for a stream before deciding to shut down. */ protected static final long MAX_WAIT_TIME = 30000L;