DataLine.Info
LOOP_CONTINUOUSLY
Constructor and Description |
---|
TSoftClip(Mixer mixer,
AudioFormat format) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
void |
drain() |
void |
flush() |
int |
getFrameLength() |
int |
getFramePosition() |
long |
getMicrosecondLength() |
long |
getMicrosecondPosition() |
void |
loop(int nCount) |
void |
open() |
void |
open(AudioInputStream audioInputStream) |
void |
run() |
void |
setFramePosition(int nPosition) |
void |
setLoopPoints(int nStart,
int nEnd) |
void |
setMicrosecondPosition(long lPosition) |
void |
start() |
void |
stop() |
getBufferSize, getFormat, getLevel, getLongFramePosition, isActive, isRunning
addLineListener, getControl, getControls, getLineInfo, isControlSupported, isOpen, removeLineListener
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBufferSize, getFormat, getLevel, isActive, isRunning
addLineListener, getControl, getControls, getLineInfo, isControlSupported, isOpen, removeLineListener
public TSoftClip(Mixer mixer, AudioFormat format) throws LineUnavailableException
LineUnavailableException
public void open(AudioInputStream audioInputStream) throws LineUnavailableException, java.io.IOException
open
in interface Clip
open
in class TClip
LineUnavailableException
java.io.IOException
public int getFrameLength()
getFrameLength
in interface Clip
getFrameLength
in class TClip
public long getMicrosecondLength()
getMicrosecondLength
in interface Clip
getMicrosecondLength
in class TClip
public void setFramePosition(int nPosition)
setFramePosition
in interface Clip
setFramePosition
in class TClip
public void setMicrosecondPosition(long lPosition)
setMicrosecondPosition
in interface Clip
setMicrosecondPosition
in class TClip
public int getFramePosition()
getFramePosition
in interface DataLine
getFramePosition
in class TClip
public long getMicrosecondPosition()
getMicrosecondPosition
in interface DataLine
getMicrosecondPosition
in class TClip
public void setLoopPoints(int nStart, int nEnd)
setLoopPoints
in interface Clip
setLoopPoints
in class TClip
public void loop(int nCount)
public int available()
public void run()
run
in interface java.lang.Runnable