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, yield
public MicrophoneStream(javax.sound.sampled.TargetDataLine line, javax.sound.sampled.AudioFileFormat.Type targetType, java.io.File file)
public void start()
start
in class java.lang.Thread
public void stopRecording()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public static void main(java.lang.String[] args)