org.tritonus.share.sampled.mixer
Class TLine

java.lang.Object
  extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface javax.sound.sampled.Line
Line.Info
 
Method Summary
 void addLineListener(LineListener listener)
           
 void close()
           
 Control getControl(Control.Type controlType)
           
 Control[] getControls()
           
 Line.Info getLineInfo()
           
 boolean isControlSupported(Control.Type controlType)
           
 boolean isOpen()
           
 void open()
           
 void removeLineListener(LineListener listener)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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