org.tritonus.share.sampled.mixer
Class TBaseDataLine

java.lang.Object
  extended by org.tritonus.share.sampled.mixer.TLine
      extended by org.tritonus.share.sampled.mixer.TDataLine
          extended by org.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/interfaces inherited from interface javax.sound.sampled.DataLine
DataLine.Info
 
Constructor Summary
TBaseDataLine(TMixer mixer, DataLine.Info info)
           
TBaseDataLine(TMixer mixer, DataLine.Info info, java.util.Collection<Control> controls)
           
 
Method Summary
 void open(AudioFormat format)
           
 void open(AudioFormat format, int nBufferSize)
           
 
Methods inherited from class org.tritonus.share.sampled.mixer.TDataLine
getBufferSize, getFormat, getFramePosition, getLevel, getLongFramePosition, getMicrosecondPosition, isActive, isRunning, start, stop
 
Methods inherited from class org.tritonus.share.sampled.mixer.TLine
addLineListener, close, getControl, getControls, getLineInfo, isControlSupported, isOpen, open, removeLineListener
 
Methods inherited from class java.lang.Object
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,
                     java.util.Collection<Control> 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