public static class AudioRecorder.AbstractRecorder extends Thread implements AudioRecorder.Recorder
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected boolean |
m_bRecording |
protected File |
m_file |
protected TargetDataLine |
m_line |
protected AudioFileFormat.Type |
m_targetType |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
AudioRecorder.AbstractRecorder(TargetDataLine line,
AudioFileFormat.Type targetType,
File file) |
Modifier and Type | Method and Description |
---|---|
void |
start()
Starts the recording.
|
void |
stopRecording() |
void |
stopRecordingNOW() |
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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield
protected TargetDataLine m_line
protected AudioFileFormat.Type m_targetType
protected File m_file
protected boolean m_bRecording
public AudioRecorder.AbstractRecorder(TargetDataLine line, AudioFileFormat.Type targetType, File file)
public void start()
start
in interface AudioRecorder.Recorder
start
in class Thread
public void stopRecording()
stopRecording
in interface AudioRecorder.Recorder
public void stopRecordingNOW()
Copyright © 2000–2016 DFKI GmbH. All rights reserved.