org.tritonus.sampled.mixer.esd
Class EsdTargetDataLine
java.lang.Object
org.tritonus.share.sampled.mixer.TLine
org.tritonus.share.sampled.mixer.TDataLine
org.tritonus.share.sampled.mixer.TBaseDataLine
org.tritonus.sampled.mixer.esd.EsdTargetDataLine
- All Implemented Interfaces:
- DataLine, Line, TargetDataLine
- public class EsdTargetDataLine
- extends TBaseDataLine
- implements 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, getControl, getControls, getLineInfo, getMixer, isControlSupported, isOpen, notifyLineEvent, open, removeControl, removeLineListener, setLineInfo, setOpen |
EsdTargetDataLine
public EsdTargetDataLine(TMixer mixer,
AudioFormat format,
int nBufferSize)
throws LineUnavailableException
- Throws:
LineUnavailableException
openImpl
protected void openImpl()
- Description copied from class:
TLine
- Subclasses should override this method.
- Overrides:
openImpl
in class TLine
available
public int available()
- Specified by:
available
in interface DataLine
read
public int read(byte[] abData,
int nOffset,
int nLength)
- Specified by:
read
in interface TargetDataLine
closeImpl
public void closeImpl()
- Description copied from class:
TLine
- Subclasses should override this method.
- Overrides:
closeImpl
in class TLine
drain
public void drain()
- Specified by:
drain
in interface DataLine
flush
public void flush()
- Specified by:
flush
in interface DataLine
getPosition
public long getPosition()