public class FlatAudioPlayThread extends AudioPlayThread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private static int |
EXTERNAL_BUFFER_SIZE |
private boolean |
stopPlaying |
song
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
FlatAudioPlayThread(AudioVectorMetaData song,
PlayerListener caller) |
Modifier and Type | Method and Description |
---|---|
boolean |
doPlaying()
Play the audio file.
|
void |
stopPlaying()
Interrupt/Stop the playing.
|
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
private static final int EXTERNAL_BUFFER_SIZE
private boolean stopPlaying
public FlatAudioPlayThread(AudioVectorMetaData song, PlayerListener caller)
public boolean doPlaying()
AudioPlayThread
doPlaying
in class AudioPlayThread
public void stopPlaying()
AudioPlayThread
AudioPlayThread.doPlaying()
should return stopPlaying
in class AudioPlayThread