public class MicrophoneStream
extends java.lang.Thread
| Constructor and Description |
|---|
MicrophoneStream(javax.sound.sampled.TargetDataLine line,
javax.sound.sampled.AudioFileFormat.Type targetType,
java.io.File file) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
void |
run()
Main working method.
|
void |
start()
Starts the recording.
|
void |
stopRecording()
Stops the recording.
|
activeCount, checkAccess, clone, 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, yieldpublic MicrophoneStream(javax.sound.sampled.TargetDataLine line,
javax.sound.sampled.AudioFileFormat.Type targetType,
java.io.File file)
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)