Save This Page
Home » openjdk-7 » » sound » [javadoc | source]
class: RealTimeSequencer.PlayThread [javadoc | source]

All Implemented Interfaces:

Field Summary
 boolean interrupted    true if playback is interrupted (in close) 
 boolean isPumping     
Method from$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$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()