org.tritonus.share.sampled.mixer
Class TBaseDataLine
java.lang.Object
org.tritonus.share.sampled.mixer.TLine
org.tritonus.share.sampled.mixer.TDataLine
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.
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 |
TBaseDataLine
public TBaseDataLine(TMixer mixer,
DataLine.Info info)
TBaseDataLine
public TBaseDataLine(TMixer mixer,
DataLine.Info info,
Collection controls)
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