|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
org.fraid.sound.utils.RecordSoundThread
public class RecordSoundThread
| Nested Class Summary | |
|---|---|
static class |
RecordSoundThread.State
|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
static int |
RECORD_BUFFER_SIZE
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
RecordSoundThread(RecordSoundController aController,
int aListenBufferSize)
|
|
| Method Summary | |
|---|---|
void |
listen()
|
void |
record()
|
void |
requestAutoStop()
|
void |
requestQuit()
|
void |
requestStop()
|
void |
resumeActivity()
|
void |
run()
|
protected void |
sendListenDataToController(byte[] aData)
|
protected void |
sendRecordDataToController(byte[] aData)
|
| 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 |
|---|
public static final int RECORD_BUFFER_SIZE
| Constructor Detail |
|---|
public RecordSoundThread(RecordSoundController aController,
int aListenBufferSize)
| Method Detail |
|---|
public void requestStop()
public void requestAutoStop()
public void requestQuit()
public void record()
public void listen()
public void resumeActivity()
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadprotected void sendRecordDataToController(byte[] aData)
protected void sendListenDataToController(byte[] aData)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||