javax.sound.sampled
Interface Clip
- All Superinterfaces:
- DataLine, Line
- All Known Implementing Classes:
- EsdClip, TClip, TSoftClip
public interface Clip
- extends DataLine
Methods inherited from interface javax.sound.sampled.DataLine |
available, drain, flush, getBufferSize, getFormat, getFramePosition, getLevel, getMicrosecondPosition, isActive, isRunning, start, stop |
LOOP_CONTINUOUSLY
static final int LOOP_CONTINUOUSLY
- See Also:
- Constant Field Values
open
void open(AudioFormat audioFormat,
byte[] abData,
int nOffset,
int nBufferSize)
throws LineUnavailableException
- Throws:
LineUnavailableException
open
void open(AudioInputStream audioInputStream)
throws LineUnavailableException,
java.io.IOException
- Throws:
LineUnavailableException
java.io.IOException
getFrameLength
int getFrameLength()
getMicrosecondLength
long getMicrosecondLength()
setFramePosition
void setFramePosition(int nFrames)
setMicrosecondPosition
void setMicrosecondPosition(long lMicroseconds)
setLoopPoints
void setLoopPoints(int nStart,
int nEnd)
loop
void loop(int nCount)