|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
sound.recorder.DirectRecordingStream
public class DirectRecordingStream
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
DirectRecordingStream(javax.sound.sampled.AudioFormat audioFormat,
javax.sound.sampled.AudioFileFormat.Type targetType,
java.io.File file)
|
|
DirectRecordingStream(javax.sound.sampled.AudioFormat audioFormat,
javax.sound.sampled.AudioFileFormat.Type targetType,
java.io.OutputStream outputStream)
|
|
DirectRecordingStream(javax.sound.sampled.TargetDataLine line,
javax.sound.sampled.AudioFileFormat.Type targetType,
java.io.File file)
|
|
DirectRecordingStream(javax.sound.sampled.TargetDataLine line,
javax.sound.sampled.AudioFileFormat.Type targetType,
java.io.OutputStream outputStream)
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
|
void |
run()
|
void |
start()
Starts the recording. |
void |
stopRecording()
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DirectRecordingStream(javax.sound.sampled.AudioFormat audioFormat,
javax.sound.sampled.AudioFileFormat.Type targetType,
java.io.OutputStream outputStream)
throws javax.sound.sampled.LineUnavailableException
javax.sound.sampled.LineUnavailableException
public DirectRecordingStream(javax.sound.sampled.AudioFormat audioFormat,
javax.sound.sampled.AudioFileFormat.Type targetType,
java.io.File file)
throws javax.sound.sampled.LineUnavailableException
javax.sound.sampled.LineUnavailableException
public DirectRecordingStream(javax.sound.sampled.TargetDataLine line,
javax.sound.sampled.AudioFileFormat.Type targetType,
java.io.OutputStream outputStream)
public DirectRecordingStream(javax.sound.sampled.TargetDataLine line,
javax.sound.sampled.AudioFileFormat.Type targetType,
java.io.File file)
| Method Detail |
|---|
public void start()
start in class java.lang.Threadpublic void stopRecording()
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||