public class SoundProcessor
extends java.lang.Thread
Modifier and Type | Field and Description |
---|---|
private javax.sound.sampled.AudioFormat |
audioFormat |
private boolean |
BIG_ENDIAN |
private byte[] |
buf |
private int |
bufferByteSize |
private int |
CHANNELS |
private javax.sound.sampled.TargetDataLine |
line |
private float |
SAMPLE_RATE |
private int |
SAMPLE_SIZE_IN_BITS |
private float[] |
samples |
private boolean |
SIGNED |
private AtomicFloat |
value |
Constructor and Description |
---|
SoundProcessor() |
Modifier and Type | Method and Description |
---|---|
float |
getValue() |
void |
init() |
void |
run() |
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, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
private final float SAMPLE_RATE
private final int SAMPLE_SIZE_IN_BITS
private final int CHANNELS
private final boolean SIGNED
private final boolean BIG_ENDIAN
private final javax.sound.sampled.AudioFormat audioFormat
private javax.sound.sampled.TargetDataLine line
private final int bufferByteSize
private final byte[] buf
private final float[] samples
private AtomicFloat value