Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
class: RealTimeSequencer.PlayThread [javadoc | source]
java.lang.Object
   com.sun.media.sound.RealTimeSequencer$PlayThread

All Implemented Interfaces:
    Runnable

Field Summary
 boolean interrupted    true if playback is interrupted (in close) 
 boolean isPumping     
Constructor:
 PlayThread() 
Method from com.sun.media.sound.RealTimeSequencer$PlayThread Summary:
close,   getDataPump,   playThreadImplStop,   run,   setSequence,   start,   stop
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.media.sound.RealTimeSequencer$PlayThread Detail:
  void close() 
 DataPump getDataPump() 
  void playThreadImplStop() 
 public  void run() 
    Main process loop driving the media flow. Make sure to NOT synchronize on RealTimeSequencer anywhere here (even implicit). That is a sure deadlock!
 synchronized  void setSequence(Sequence seq) 
 synchronized  void start() 
    start thread and pump. Requires up-to-date tempoCache
 synchronized  void stop()