public class AlsaTargetDataLine extends AlsaBaseDataLine implements TargetDataLine
Modifier and Type | Class and Description |
---|---|
class |
AlsaTargetDataLine.AlsaTargetDataLineGainControl |
AlsaBaseDataLine.AlsaBaseDataLineGainControl
DataLine.Info
Constructor and Description |
---|
AlsaTargetDataLine(AlsaDataLineMixer mixer,
AudioFormat format,
int nBufferSize) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
drain() |
void |
flush() |
long |
getPosition() |
int |
read(byte[] abData,
int nOffset,
int nLength) |
int |
readImpl(byte[] abData,
int nOffset,
int nLength) |
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 AlsaTargetDataLine(AlsaDataLineMixer mixer, AudioFormat format, int nBufferSize) throws LineUnavailableException
LineUnavailableException
public int available()
available
in interface DataLine
available
in class AlsaBaseDataLine
public int read(byte[] abData, int nOffset, int nLength)
read
in interface TargetDataLine
public int readImpl(byte[] abData, int nOffset, int nLength)
public void drain()
drain
in interface DataLine
drain
in class AlsaBaseDataLine
public void flush()
flush
in interface DataLine
flush
in class AlsaBaseDataLine
public long getPosition()