API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sound.sampled. SourceDataLine View Source
Author(s)
Kara Kytle
Since
1.3
Version
1.21 05/11/17
Serial
Hierarchy
 Line
      DataLine
          SourceDataLine
Subinterfaces
Description
public interface SourceDataLine
  A source data line is a data line to which data may be written.
See also:    Mixer DataLine TargetDataLine
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 suggested buffer size, causing the line to acquire any required system resources and become operational.
public int write (byte[] b, int off, int len)
  Writes audio data to the mixer via this source data line.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar