org.tritonus.share.sampled.mixer
Class TBaseDataLine

java.lang.Object
  extended byorg.tritonus.share.sampled.mixer.TLine
      extended byorg.tritonus.share.sampled.mixer.TDataLine
          extended byorg.tritonus.share.sampled.mixer.TBaseDataLine
All Implemented Interfaces:
DataLine, Line
Direct Known Subclasses:
AlsaBaseDataLine, EsdSourceDataLine, EsdTargetDataLine

public abstract class TBaseDataLine
extends TDataLine

Base class for implementing SourceDataLine or TargetDataLine.


Nested Class Summary
 
Nested classes inherited from class javax.sound.sampled.DataLine
DataLine.Info
 
Constructor Summary
TBaseDataLine(TMixer mixer, DataLine.Info info)
           
TBaseDataLine(TMixer mixer, DataLine.Info info, Collection controls)
           
 
Method Summary
protected  void finalize()
           
 void open(AudioFormat format)
           
 void open(AudioFormat format, int nBufferSize)
           
 
Methods inherited from class org.tritonus.share.sampled.mixer.TDataLine
checkOpen, getBufferSize, getDefaultBufferSize, getFormat, getFramePosition, getLevel, getMicrosecondPosition, isActive, isRunning, notifyLineEvent, setBufferSize, setFormat, setRunning, start, startImpl, stop, stopImpl
 
Methods inherited from class org.tritonus.share.sampled.mixer.TLine
addControl, addLineListener, close, closeImpl, getControl, getControls, getLineInfo, getMixer, isControlSupported, isOpen, notifyLineEvent, open, openImpl, removeControl, removeLineListener, setLineInfo, setOpen
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.sound.sampled.DataLine
available, drain, flush
 
Methods inherited from interface javax.sound.sampled.Line
addLineListener, close, getControl, getControls, getLineInfo, isControlSupported, isOpen, open, removeLineListener
 

Constructor Detail

TBaseDataLine

public TBaseDataLine(TMixer mixer,
                     DataLine.Info info)

TBaseDataLine

public TBaseDataLine(TMixer mixer,
                     DataLine.Info info,
                     Collection controls)
Method Detail

open

public void open(AudioFormat format,
                 int nBufferSize)
          throws LineUnavailableException
Throws:
LineUnavailableException

open

public void open(AudioFormat format)
          throws LineUnavailableException
Throws:
LineUnavailableException

finalize

protected void finalize()
Overrides:
finalize in class Object