API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sound.sampled. TargetDataLine View Source
Author(s)
Kara Kytle
Since
1.3
Version
1.21 05/11/17
Serial
Hierarchy
 Line
      DataLine
          TargetDataLine
Subinterfaces
Description
public interface TargetDataLine
  A target data line is a type of DataLine from which audio data can be read.
See also:    Mixer DataLine SourceDataLine
Methods
Hide/Show inherited methods
public void open (AudioFormat format) throws LineUnavailableException
  Opens the line with the specified format, causing the line to acquire any required system resources and become operational.
public void open (AudioFormat format, int bufferSize) throws LineUnavailableException
  Opens the line with the specified format and requested buffer size, causing the line to acquire any required system resources and become operational.
public int read (byte[] b, int off, int len)
  Reads audio data from the data line's input buffer.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar