public abstract class TDataLine extends TLine implements DataLine
DataLine.Info| Constructor and Description |
|---|
TDataLine(TMixer mixer,
DataLine.Info info) |
TDataLine(TMixer mixer,
DataLine.Info info,
Collection<Control> controls) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkOpen() |
int |
getBufferSize() |
protected int |
getDefaultBufferSize() |
AudioFormat |
getFormat() |
int |
getFramePosition() |
float |
getLevel() |
long |
getLongFramePosition() |
long |
getMicrosecondPosition() |
boolean |
isActive()
This implementation returns the status of isRunning().
|
boolean |
isRunning() |
protected void |
notifyLineEvent(LineEvent.Type type) |
protected void |
setBufferSize(int nBufferSize) |
protected void |
setFormat(AudioFormat format) |
protected void |
setRunning(boolean bRunning) |
void |
start() |
protected void |
startImpl() |
void |
stop() |
protected void |
stopImpl() |
addControl, addLineListener, close, closeImpl, getControl, getControls, getLineInfo, getMixer, isControlSupported, isOpen, notifyLineEvent, open, openImpl, removeControl, removeLineListener, setLineInfo, setOpenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddLineListener, close, getControl, getControls, getLineInfo, isControlSupported, isOpen, open, removeLineListenerpublic TDataLine(TMixer mixer, DataLine.Info info)
public TDataLine(TMixer mixer, DataLine.Info info, Collection<Control> controls)
protected void setRunning(boolean bRunning)
protected void startImpl()
protected void stopImpl()
public boolean isActive()
public AudioFormat getFormat()
protected void setFormat(AudioFormat format)
public int getBufferSize()
getBufferSize in interface DataLineprotected void setBufferSize(int nBufferSize)
public int getFramePosition()
getFramePosition in interface DataLinepublic long getLongFramePosition()
getLongFramePosition in interface DataLinepublic long getMicrosecondPosition()
getMicrosecondPosition in interface DataLineprotected void checkOpen()
protected int getDefaultBufferSize()
protected void notifyLineEvent(LineEvent.Type type)
notifyLineEvent in class TLineCopyright © 2016. All Rights Reserved.