|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xiph.speex.player.Recorder.Capture
protected class Recorder.Capture
Capture thread
Field Summary | |
---|---|
protected javax.sound.sampled.AudioFormat |
audioFormat
|
protected javax.sound.sampled.AudioInputStream |
audioInputStream
|
protected byte[] |
buffer
|
protected javax.sound.sampled.DataLine.Info |
info
|
protected javax.sound.sampled.TargetDataLine |
line
|
protected java.io.ByteArrayOutputStream |
out
|
protected javax.sound.sampled.AudioFileFormat.Type |
targetType
|
protected java.lang.Thread |
thread
|
Constructor Summary | |
---|---|
protected |
Recorder.Capture()
|
Method Summary | |
---|---|
void |
run()
The code that runs in the thread and recovers the JavaSound capture buffer. |
protected void |
setupSound()
Setup the JavaSound System to play the Audio. |
protected void |
start()
Start the playback thread which fills the JavaSound playback buffer. |
protected void |
stop()
Stop the playback thread and destroy all resources. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.io.ByteArrayOutputStream out
protected javax.sound.sampled.AudioInputStream audioInputStream
protected javax.sound.sampled.AudioFormat audioFormat
protected javax.sound.sampled.DataLine.Info info
protected javax.sound.sampled.AudioFileFormat.Type targetType
protected javax.sound.sampled.TargetDataLine line
protected byte[] buffer
protected java.lang.Thread thread
Constructor Detail |
---|
protected Recorder.Capture()
Method Detail |
---|
protected void start()
protected void stop()
protected void setupSound()
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |