javax.sound.sampled
Interface Clip

All Superinterfaces:
DataLine, Line
All Known Implementing Classes:
EsdClip, TClip, TSoftClip

public interface Clip
extends DataLine


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.sound.sampled.DataLine
DataLine.Info
 
Field Summary
static int LOOP_CONTINUOUSLY
           
 
Method Summary
 int getFrameLength()
           
 long getMicrosecondLength()
           
 void loop(int nCount)
           
 void open(AudioFormat audioFormat, byte[] abData, int nOffset, int nBufferSize)
           
 void open(AudioInputStream audioInputStream)
           
 void setFramePosition(int nFrames)
           
 void setLoopPoints(int nStart, int nEnd)
           
 void setMicrosecondPosition(long lMicroseconds)
           
 
Methods inherited from interface javax.sound.sampled.DataLine
available, drain, flush, getBufferSize, getFormat, getFramePosition, getLevel, getMicrosecondPosition, isActive, isRunning, start, stop
 
Methods inherited from interface javax.sound.sampled.Line
addLineListener, close, getControl, getControls, getLineInfo, isControlSupported, isOpen, open, removeLineListener
 

Field Detail

LOOP_CONTINUOUSLY

static final int LOOP_CONTINUOUSLY
See Also:
Constant Field Values
Method Detail

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)