Even more verbose logging to figure out why the sound manager is being so
slow. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3340 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -319,6 +319,9 @@ public class SoundManager
|
|||||||
synchronized (_queue) {
|
synchronized (_queue) {
|
||||||
_freeSpoolers++;
|
_freeSpoolers++;
|
||||||
key = (SoundKey) _queue.get(MAX_WAIT_TIME);
|
key = (SoundKey) _queue.get(MAX_WAIT_TIME);
|
||||||
|
if (_verbose.getValue()) {
|
||||||
|
Log.info("Spooler got key [" + key + "].");
|
||||||
|
}
|
||||||
_freeSpoolers--;
|
_freeSpoolers--;
|
||||||
|
|
||||||
if (key == null || key.cmd == DIE) {
|
if (key == null || key.cmd == DIE) {
|
||||||
|
|||||||
Reference in New Issue
Block a user