com.threerings.openal
Class OpenALSoundPlayer.TickingQueue

java.lang.Object
  extended by java.lang.Thread
      extended by com.samskivert.util.LoopingThread
          extended by com.samskivert.util.BasicRunQueue
              extended by com.threerings.openal.OpenALSoundPlayer.TickingQueue
All Implemented Interfaces:
RunQueue, Runnable
Enclosing class:
OpenALSoundPlayer

protected class OpenALSoundPlayer.TickingQueue
extends BasicRunQueue

Updates the sound manager's streams every STREAM_UPDATE_INTERVAL and processes sound runnables added to its queue.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Nested classes/interfaces inherited from interface com.samskivert.util.RunQueue
RunQueue.AsExecutor
 
Field Summary
protected  long _lastTick
           
protected  MediaTimer _timer
           
 
Fields inherited from class com.samskivert.util.BasicRunQueue
_dispatcher, _queue
 
Fields inherited from class com.samskivert.util.LoopingThread
_running
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Fields inherited from interface com.samskivert.util.RunQueue
AWT
 
Constructor Summary
OpenALSoundPlayer.TickingQueue()
           
 
Method Summary
protected  void iterate()
           
 
Methods inherited from class com.samskivert.util.BasicRunQueue
isDispatchThread, kick, postRunnable, willStart
 
Methods inherited from class com.samskivert.util.LoopingThread
didShutdown, handleIterateFailure, isRunning, run, shutdown
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.samskivert.util.RunQueue
isRunning
 

Field Detail

_timer

protected MediaTimer _timer

_lastTick

protected long _lastTick
Constructor Detail

OpenALSoundPlayer.TickingQueue

public OpenALSoundPlayer.TickingQueue()
Method Detail

iterate

protected void iterate()
Overrides:
iterate in class BasicRunQueue