DataLine.InfoLOOP_CONTINUOUSLY| Constructor and Description |
|---|
TClip(DataLine.Info info) |
TClip(DataLine.Info info,
Collection<Control> controls) |
| 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(AudioFormat audioFormat,
byte[] abData,
int nOffset,
int nLength) |
void |
open(AudioInputStream audioInputStream) |
void |
setFramePosition(int nPosition) |
void |
setLoopPoints(int nStart,
int nEnd) |
void |
setMicrosecondPosition(long lPosition) |
void |
start() |
void |
stop() |
checkOpen, getBufferSize, getDefaultBufferSize, getFormat, getLevel, getLongFramePosition, isActive, isRunning, notifyLineEvent, setBufferSize, setFormat, setRunning, startImpl, stopImpladdControl, addLineListener, closeImpl, getControl, getControls, getLineInfo, getMixer, isControlSupported, isOpen, notifyLineEvent, openImpl, removeControl, removeLineListener, setLineInfo, setOpenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBufferSize, getFormat, getLevel, getLongFramePosition, isActive, isRunningaddLineListener, getControl, getControls, getLineInfo, isControlSupported, isOpen, removeLineListenerpublic TClip(DataLine.Info info)
public TClip(DataLine.Info info, Collection<Control> controls)
public void open(AudioFormat audioFormat, byte[] abData, int nOffset, int nLength) throws LineUnavailableException
open in interface ClipLineUnavailableExceptionpublic void open(AudioInputStream audioInputStream) throws LineUnavailableException, IOException
open in interface ClipLineUnavailableExceptionIOExceptionpublic int getFrameLength()
getFrameLength in interface Clippublic long getMicrosecondLength()
getMicrosecondLength in interface Clippublic void setFramePosition(int nPosition)
setFramePosition in interface Clippublic void setMicrosecondPosition(long lPosition)
setMicrosecondPosition in interface Clippublic int getFramePosition()
getFramePosition in interface DataLinegetFramePosition in class TDataLinepublic long getMicrosecondPosition()
getMicrosecondPosition in interface DataLinegetMicrosecondPosition in class TDataLinepublic void setLoopPoints(int nStart,
int nEnd)
setLoopPoints in interface Clippublic void close()
public void start()
Copyright © 2016. All Rights Reserved.