public class EsdSourceDataLine extends TBaseDataLine implements SourceDataLine
Modifier and Type | Class and Description |
---|---|
class |
EsdSourceDataLine.EsdSourceDataLineGainControl |
class |
EsdSourceDataLine.EsdSourceDataLineMuteControl |
class |
EsdSourceDataLine.EsdSourceDataLinePanControl |
DataLine.Info
Constructor and Description |
---|
EsdSourceDataLine(TMixer mixer,
AudioFormat format,
int nBufferSize) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
drain() |
void |
flush() |
int |
write(byte[] abData,
int nOffset,
int nLength)
Write data to the line.
|
open, open
getBufferSize, getFormat, getFramePosition, getLevel, getLongFramePosition, getMicrosecondPosition, isActive, isRunning, start, stop
addLineListener, close, getControl, getControls, getLineInfo, isControlSupported, isOpen, open, removeLineListener
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
open, open
getBufferSize, getFormat, getFramePosition, getLevel, getMicrosecondPosition, isActive, isRunning, start, stop
addLineListener, close, getControl, getControls, getLineInfo, isControlSupported, isOpen, open, removeLineListener
public EsdSourceDataLine(TMixer mixer, AudioFormat format, int nBufferSize) throws LineUnavailableException
LineUnavailableException
public int write(byte[] abData, int nOffset, int nLength)
SourceDataLine
write
in interface SourceDataLine
abData
- The buffer to use.nLength
- The length of the data that should be written,
in bytes. Can be less that the length of abData.