API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sound.sampled. Line View Source
Author(s)
Kara Kytle
Since
1.3
Version
1.30, 05/11/17
Serial
Hierarchy
 Line
Subinterfaces
Description
public interface Line
  The Line interface represents a mono or multi-channel audio feed.
See also:    LineEvent
Methods
Hide/Show inherited methods
public void addLineListener (LineListener listener)
  Adds a listener to this line.
public void close ()
  Closes the line, indicating that any system resources in use by the line can be released.
public Control getControl (Type control)
  Obtains a control of the specified type, if there is any.
public Control getControls ()
  Obtains the set of controls associated with this line.
public Info getLineInfo ()
  Obtains the Line.Info object describing this line.
public boolean isControlSupported (Type control)
  Indicates whether the line supports a control of the specified type.
public boolean isOpen ()
  Indicates whether the line is open, meaning that it has reserved system resources and is operational, although it might not currently be playing or capturing sound.
public void open () throws LineUnavailableException
  Opens the line, indicating that it should acquire any required system resources and become operational.
public void removeLineListener (LineListener listener)
  Removes the specified listener from this line's list of listeners.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar