| |
|
| java.lang.Object java.lang.Thread com.sun.j3d.audioengines.AudioEngineThread
All known Subclasses: com.sun.j3d.audioengines.javasound.JSThread,
AudioEngineThread | public class AudioEngineThread extends Thread (Code) | | The Thread Class extended for Audio Device engines that must process
calls dynamically, in 'real-time" to asynchronously change engine
parameters.
NOTE: this class is probably not needed for those Audio Device implementations
that handle all dynamic parameters in the low-level audio library.
|
NOTIFY_AND_WAIT | final protected static int NOTIFY_AND_WAIT(Code) | | This runMonitor action notifies MasterControl that this thread
has completed and wait.
|
RUN | final protected static int RUN(Code) | | This runMonitor action tells the thread to run N number of
iterations.
|
STOP | final protected static int STOP(Code) | | This runMonitor action tells the thread to stop running
|
UPDATE_THREAD | final protected static int UPDATE_THREAD(Code) | | |
WAIT | final protected static int WAIT(Code) | | This runMonitor action puts the thread into an initial wait state
|
WORK_THREAD | final protected static int WORK_THREAD(Code) | | The classification types.
|
active | protected boolean active(Code) | | This indicates that this thread has been activated by MC
|
args | protected Object[] args(Code) | | The arguments passed in for this thread
|
classification | protected int classification(Code) | | The classification of this thread. It is one of the above constants.
|
debugFlag | final protected static boolean debugFlag(Code) | | |
instanceNum | protected int instanceNum(Code) | | |
lastWaitTimestamp | protected long lastWaitTimestamp(Code) | | Use to assign threadOpts WAIT_ALL_THREADS
|
numInstances | protected static int numInstances(Code) | | Some variables used to name threads correctly
|
referenceTime | protected long referenceTime(Code) | | The time values passed into this thread
|
running | protected boolean running(Code) | | This indicates that this thread is alive and running
|
started | protected boolean started(Code) | | This indicates that this thread is ready
|
type | protected int type(Code) | | The type of this thread. It is one of the above constants.
|
userStop | protected boolean userStop(Code) | | Flag to indicate that user initiate a thread stop
|
waiting | protected boolean waiting(Code) | | Flag to indicate that this thread is waiting to be notify
|
AudioEngineThread | public AudioEngineThread(ThreadGroup t, String threadName)(Code) | | This constructor simply assigns the given id.
|
cleanup | public void cleanup()(Code) | | |
doWork | public synchronized void doWork()(Code) | | This method is defined by all slave threads to implement
one iteration of work.
|
finish | public void finish()(Code) | | This causes the threads run method to exit.
|
getInstanceNum | int getInstanceNum()(Code) | | |
initialize | public void initialize()(Code) | | This initializes this thread. Once this method returns, the thread is
ready to do work.
|
newInstanceNum | synchronized int newInstanceNum()(Code) | | |
runMonitor | public synchronized void runMonitor(int action, long referenceTime, Object[] args)(Code) | | |
shutdown | public void shutdown()(Code) | | |
|
|
|