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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user