marf.Storage
Class SampleRecorder

java.lang.Object
  extended by java.lang.Thread
      extended by marf.util.BaseThread
          extended by marf.Storage.SampleRecorder
All Implemented Interfaces:
java.lang.Runnable

public class SampleRecorder
extends BaseThread

Reads data from the input channel and writes to the output stream.

$Id: SampleRecorder.java,v 1.6 2006/03/13 15:11:28 mokhov Exp $

Since:
0.3.0.6
Author:
Jimmy Nicolacopoulos

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
private  javax.sound.sampled.TargetDataLine line
           
private  Sample oSample
           
private  boolean stopped
           
(package private) static int threadCount
           
 
Fields inherited from class marf.util.BaseThread
iTID, oTarget, siNextTID
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SampleRecorder(Sample pSample)
           
 
Method Summary
 void run()
           
 void stopRecording()
           
 
Methods inherited from class marf.util.BaseThread
getMARFSourceCodeRevision, getNextTID, getTarget, getTID
 
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, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

line

private javax.sound.sampled.TargetDataLine line

stopped

private boolean stopped

oSample

private Sample oSample

threadCount

static int threadCount
Constructor Detail

SampleRecorder

public SampleRecorder(Sample pSample)
Method Detail

stopRecording

public void stopRecording()

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread


SourceForge Logo