|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tritonus.share.sampled.mixer.TLine
org.tritonus.share.sampled.mixer.TDataLine
org.tritonus.share.sampled.mixer.TBaseDataLine
org.tritonus.sampled.mixer.esd.EsdSourceDataLine
public class EsdSourceDataLine
Nested Class Summary | |
---|---|
class |
EsdSourceDataLine.EsdSourceDataLineGainControl
|
class |
EsdSourceDataLine.EsdSourceDataLineMuteControl
|
class |
EsdSourceDataLine.EsdSourceDataLinePanControl
|
Nested classes/interfaces inherited from interface javax.sound.sampled.DataLine |
---|
DataLine.Info |
Constructor Summary | |
---|---|
EsdSourceDataLine(TMixer mixer,
AudioFormat format,
int nBufferSize)
|
Method Summary | |
---|---|
int |
available()
|
void |
drain()
|
void |
flush()
|
int |
write(byte[] abData,
int nOffset,
int nLength)
Write data to the line. |
Methods inherited from class org.tritonus.share.sampled.mixer.TBaseDataLine |
---|
open, open |
Methods inherited from class org.tritonus.share.sampled.mixer.TDataLine |
---|
getBufferSize, getFormat, getFramePosition, getLevel, getLongFramePosition, getMicrosecondPosition, isActive, isRunning, start, stop |
Methods inherited from class org.tritonus.share.sampled.mixer.TLine |
---|
addLineListener, close, getControl, getControls, getLineInfo, isControlSupported, isOpen, open, removeLineListener |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.sound.sampled.SourceDataLine |
---|
open, open |
Methods inherited from interface javax.sound.sampled.DataLine |
---|
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 |
Constructor Detail |
---|
public EsdSourceDataLine(TMixer mixer, AudioFormat format, int nBufferSize) throws LineUnavailableException
LineUnavailableException
Method Detail |
---|
public int available()
available
in interface DataLine
public int write(byte[] abData, int nOffset, int nLength)
SourceDataLine
write
in interface SourceDataLine
abData
- The buffer to use.nLength
- The length of the data that should be written,
in bytes. Can be less that the length of abData.
public void drain()
drain
in interface DataLine
public void flush()
flush
in interface DataLine
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |