org.tritonus.share.sampled.mixer
Class TSoftClip
java.lang.Object
org.tritonus.share.sampled.mixer.TLine
org.tritonus.share.sampled.mixer.TDataLine
org.tritonus.share.sampled.mixer.TClip
org.tritonus.share.sampled.mixer.TSoftClip
- All Implemented Interfaces:
- Runnable, Clip, DataLine, Line
public class TSoftClip
- extends TClip
- implements Runnable
| Methods inherited from class org.tritonus.share.sampled.mixer.TClip |
open |
| Methods inherited from class org.tritonus.share.sampled.mixer.TDataLine |
getBufferSize, getDefaultBufferSize, getFormat, getLevel, getLongFramePosition, checkOpen, isActive, isRunning, notifyLineEvent, setBufferSize, setFormat, setRunning, startImpl, stopImpl |
| Methods inherited from class org.tritonus.share.sampled.mixer.TLine |
addControl, addLineListener, closeImpl, getControl, getControls, getLineInfo, getMixer, isControlSupported, isOpen, notifyLineEvent, openImpl, removeControl, removeLineListener, setLineInfo, setOpen |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TSoftClip
public TSoftClip(Mixer mixer,
AudioFormat format)
throws LineUnavailableException
- Throws:
LineUnavailableException
open
public void open(AudioInputStream audioInputStream)
throws LineUnavailableException,
IOException
- Specified by:
open in interface Clip- Overrides:
open in class TClip
- Throws:
LineUnavailableException
IOException
getFrameLength
public int getFrameLength()
- Specified by:
getFrameLength in interface Clip- Overrides:
getFrameLength in class TClip
getMicrosecondLength
public long getMicrosecondLength()
- Specified by:
getMicrosecondLength in interface Clip- Overrides:
getMicrosecondLength in class TClip
setFramePosition
public void setFramePosition(int nPosition)
- Specified by:
setFramePosition in interface Clip- Overrides:
setFramePosition in class TClip
setMicrosecondPosition
public void setMicrosecondPosition(long lPosition)
- Specified by:
setMicrosecondPosition in interface Clip- Overrides:
setMicrosecondPosition in class TClip
getFramePosition
public int getFramePosition()
- Specified by:
getFramePosition in interface DataLine- Overrides:
getFramePosition in class TClip
getMicrosecondPosition
public long getMicrosecondPosition()
- Specified by:
getMicrosecondPosition in interface DataLine- Overrides:
getMicrosecondPosition in class TClip
setLoopPoints
public void setLoopPoints(int nStart,
int nEnd)
- Specified by:
setLoopPoints in interface Clip- Overrides:
setLoopPoints in class TClip
loop
public void loop(int nCount)
- Specified by:
loop in interface Clip- Overrides:
loop in class TClip
flush
public void flush()
- Specified by:
flush in interface DataLine- Overrides:
flush in class TClip
drain
public void drain()
- Specified by:
drain in interface DataLine- Overrides:
drain in class TClip
close
public void close()
- Specified by:
close in interface Line- Overrides:
close in class TClip
open
public void open()
- Specified by:
open in interface Line- Overrides:
open in class TClip
start
public void start()
- Specified by:
start in interface DataLine- Overrides:
start in class TClip
stop
public void stop()
- Specified by:
stop in interface DataLine- Overrides:
stop in class TClip
available
public int available()
- Specified by:
available in interface DataLine- Overrides:
available in class TClip
run
public void run()
- Specified by:
run in interface Runnable
Copyright © 2012. All Rights Reserved.