ufg.processing
Class AudioPlayer

java.lang.Object
  extended by java.lang.Thread
      extended by ufg.processing.AudioPlayer
All Implemented Interfaces:
java.lang.Runnable, javax.media.ControllerListener

public class AudioPlayer
extends java.lang.Thread
implements javax.media.ControllerListener


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AudioPlayer(java.lang.String filePath)
           
 
Method Summary
 void controllerUpdate(javax.media.ControllerEvent event)
           
 void destroy()
           
 boolean isDone()
           
 void loop()
           
 void remove()
           
 void restart()
           
 void start()
           
 void stopp()
           
 void waitUntilFinished()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AudioPlayer

public AudioPlayer(java.lang.String filePath)
Method Detail

loop

public void loop()

start

public void start()
Overrides:
start in class java.lang.Thread

stopp

public void stopp()

destroy

public void destroy()
Overrides:
destroy in class java.lang.Thread

remove

public void remove()

restart

public void restart()

isDone

public boolean isDone()

waitUntilFinished

public void waitUntilFinished()

controllerUpdate

public void controllerUpdate(javax.media.ControllerEvent event)
Specified by:
controllerUpdate in interface javax.media.ControllerListener