From cb6da9d5bc8b89ea381823167b0dfe26ae5cbf81 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Tue, 8 Feb 2005 06:26:27 +0000 Subject: [PATCH] Playing with the sound under windows, it seems that a lot of sounds are getting dropped because they're taking too long to play. Extended the max delay to 1000ms, which will surely help more sounds play, but may not be worth it. Hey, we've got a test server to test on... git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3337 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- 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 fdda48496..868f504e1 100644 --- a/src/java/com/threerings/media/sound/SoundManager.java +++ b/src/java/com/threerings/media/sound/SoundManager.java @@ -820,7 +820,7 @@ public class SoundManager /** The maximum time after which we throw away a sound rather * than play it. */ - protected static final long MAX_SOUND_DELAY = 400L; + protected static final long MAX_SOUND_DELAY = 1000L; /** The size of the line's buffer. */ protected static final int LINEBUF_SIZE = 8 * 1024;