Some people seem to get an OpenAL error here after being in the client for a while, so let's see if
catching it allows them to soldier on. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@803 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -388,7 +388,11 @@ public class OpenALSoundPlayer extends SoundPlayer
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
newTime = _timer.getElapsedMillis();
|
newTime = _timer.getElapsedMillis();
|
||||||
_alSoundManager.updateStreams((newTime - _lastTick)/ 1000F);
|
try {
|
||||||
|
_alSoundManager.updateStreams((newTime - _lastTick) / 1000F);
|
||||||
|
} catch (Throwable t) {
|
||||||
|
log.warning("Updating OpenAL streams barfed.", t);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
_lastTick = newTime;
|
_lastTick = newTime;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user