public class AudioRecorderThread
extends java.lang.Thread
| Modifier and Type | Field and Description |
|---|---|
static int |
SAMPLE_AUDIO_RATE_IN_HZ |
| Constructor and Description |
|---|
AudioRecorderThread(int sampleRate,
long recordStartTime,
AudioHandler audioHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
encodedAudio(byte[] decodedData,
int offset,
int length) |
void |
run() |
void |
stopAudioRecording() |
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, yieldpublic static final int SAMPLE_AUDIO_RATE_IN_HZ
public AudioRecorderThread(int sampleRate,
long recordStartTime,
AudioHandler audioHandler)