public interface SourceDataLine extends DataLine
DataLine.Info| Modifier and Type | Method and Description |
|---|---|
void |
open(AudioFormat audioFormat) |
void |
open(AudioFormat audioFormat,
int nBufferSize) |
int |
write(byte[] abData,
int nOffset,
int nLength)
Write data to the line.
|
available, drain, flush, getBufferSize, getFormat, getFramePosition, getLevel, getMicrosecondPosition, isActive, isRunning, start, stopaddLineListener, close, getControl, getControls, getLineInfo, isControlSupported, isOpen, open, removeLineListenervoid open(AudioFormat audioFormat, int nBufferSize) throws LineUnavailableException
LineUnavailableExceptionvoid open(AudioFormat audioFormat) throws LineUnavailableException
LineUnavailableExceptionint write(byte[] abData,
int nOffset,
int nLength)
abData - The buffer to use.nOffset - nLength - The length of the data that should be written,
in bytes. Can be less that the length of abData.