Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private int |
channel |
protected static LinkedHashMap<File,DecoderThread> |
currentlyDecoding
Static data structure not to decode a file twice at the same time.
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 PlaybackThread |
playbackThread |
private boolean |
stats |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
DecoderThread(PlaybackThread playbackThread,
File encodedFile,
int channel,
boolean stats,
String decodedOutputDir,
String decodedSuffix) |
Modifier and Type | Method and Description |
---|---|
static String |
getDecodedFileName(File encodedFile,
String decodedOutputDir,
String decodedSuffix) |
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> currentlyDecoding
private File encodedFile
private File pcmFile
private int channel
private boolean stats
private PlaybackThread playbackThread
public DecoderThread(PlaybackThread playbackThread, File encodedFile, int channel, boolean stats, String decodedOutputDir, String decodedSuffix) throws FileNotFoundException
FileNotFoundException