Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private int |
channel |
private File |
encodedFile |
protected static LinkedHashMap<File,DecoderThread> |
lhmCurrentlyDecoding
Static data structure not to decode a file twice at the same time
|
private PlaybackThread |
nt |
private File |
pcmFile |
private boolean |
stats |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
DecoderThread(PlaybackThread nt,
File encF,
int channel,
boolean stats) |
Modifier and Type | Method and Description |
---|---|
static String |
getDecodedFileName(File encF) |
File |
getEncodedFile() |
File |
getPcmFile() |
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, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
protected static LinkedHashMap<File,DecoderThread> lhmCurrentlyDecoding
That means that all files that are currently being decoded have been put into the structure together with the DecoderThread as the value.
private File encodedFile
private File pcmFile
private int channel
private boolean stats
private PlaybackThread nt
public DecoderThread(PlaybackThread nt, File encF, int channel, boolean stats) throws FileNotFoundException
FileNotFoundException