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

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, Collection<Control> 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
getBufferSize, getDefaultBufferSize, getFormat, getFramePosition, getLevel, getLongFramePosition, getMicrosecondPosition, checkOpen, 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<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

finalize

protected void finalize()
Overrides:
finalize in class Object


Copyright © 2012. All Rights Reserved.