|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
marytts.util.data.audio.AudioRecorder.AbstractRecorder
public static class AudioRecorder.AbstractRecorder
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
protected AudioProcessor |
audioProcessor
|
protected boolean |
m_bRecording
|
protected java.io.File |
m_file
|
protected javax.sound.sampled.TargetDataLine |
m_line
|
protected javax.sound.sampled.AudioFileFormat.Type |
m_targetType
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
AudioRecorder.AbstractRecorder(javax.sound.sampled.TargetDataLine line,
javax.sound.sampled.AudioFileFormat.Type targetType,
java.io.File file)
|
|
| Method Summary | |
|---|---|
void |
setAudioProcessor(AudioProcessor proc)
Optionally, set an audio processor to apply to the recording before saving it. |
void |
start()
Starts the recording. |
void |
stopRecording()
|
void |
stopRecordingNOW()
|
| Methods inherited from class java.lang.Thread |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected javax.sound.sampled.TargetDataLine m_line
protected javax.sound.sampled.AudioFileFormat.Type m_targetType
protected java.io.File m_file
protected boolean m_bRecording
protected AudioProcessor audioProcessor
| Constructor Detail |
|---|
public AudioRecorder.AbstractRecorder(javax.sound.sampled.TargetDataLine line,
javax.sound.sampled.AudioFileFormat.Type targetType,
java.io.File file)
| Method Detail |
|---|
public void setAudioProcessor(AudioProcessor proc)
setAudioProcessor in interface AudioRecorder.Recorderproc - public void start()
start in interface AudioRecorder.Recorderstart in class java.lang.Threadpublic void stopRecording()
stopRecording in interface AudioRecorder.Recorderpublic void stopRecordingNOW()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||