Save This Page
Home » openjdk-7 » » sound » [javadoc | source]
public class: DataPusher [javadoc | source]

All Implemented Interfaces:

Class to write an AudioInputStream to a SourceDataLine. Was previously an inner class in various classes like JavaSoundAudioClip and It auto-opens and closes the SourceDataLine.
 public DataPusher(SourceDataLine sourceLine,
    AudioInputStream ais) 
 public DataPusher(SourceDataLine sourceLine,
    AudioFormat format,
    byte[] audioData,
    int byteLength) 
Method from Summary:
close,   run,   start,   start,   stop
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from Detail:
 synchronized  void close() 
 public  void run() 
    Write data to the source data line.
 public synchronized  void start() 
 public synchronized  void start(boolean loop) 
 public synchronized  void stop()