org.tritonus.share.sampled.mixer
Class TLine
java.lang.Object
org.tritonus.share.sampled.mixer.TLine
- All Implemented Interfaces:
- Line
- Direct Known Subclasses:
- TDataLine, TMixer, TPort
public abstract class TLine
- extends java.lang.Object
- implements Line
Base class for classes implementing Line.
Nested classes/interfaces inherited from interface javax.sound.sampled.Line |
Line.Info |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getLineInfo
public Line.Info getLineInfo()
- Specified by:
getLineInfo
in interface Line
open
public void open()
throws LineUnavailableException
- Specified by:
open
in interface Line
- Throws:
LineUnavailableException
close
public void close()
- Specified by:
close
in interface Line
isOpen
public boolean isOpen()
- Specified by:
isOpen
in interface Line
getControls
public Control[] getControls()
- Specified by:
getControls
in interface Line
getControl
public Control getControl(Control.Type controlType)
- Specified by:
getControl
in interface Line
isControlSupported
public boolean isControlSupported(Control.Type controlType)
- Specified by:
isControlSupported
in interface Line
addLineListener
public void addLineListener(LineListener listener)
- Specified by:
addLineListener
in interface Line
removeLineListener
public void removeLineListener(LineListener listener)
- Specified by:
removeLineListener
in interface Line