class WaveAudioPlayer extends Thread
Modifier and Type | Class and Description |
---|---|
private static class |
WaveAudioPlayer.Position |
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private WaveAudioPlayer.Position |
curPosition |
private int |
EXTERNAL_BUFFER_SIZE |
private String |
filename |
private boolean |
isPlaying |
private boolean |
stopPlaying
Cleanly Stop the Thread Playing
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
WaveAudioPlayer(String wavfile) |
WaveAudioPlayer(String wavfile,
WaveAudioPlayer.Position p) |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
getIsPlaying() |
(package private) boolean |
isPlaying() |
void |
run() |
(package private) void |
setIsPlaying() |
(package private) void |
setIsPlaying(boolean isPlay) |
(package private) void |
setPlaying() |
(package private) void |
stopPlaying() |
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 WaveAudioPlayer.Position curPosition
private final int EXTERNAL_BUFFER_SIZE
private boolean stopPlaying
private boolean isPlaying
public WaveAudioPlayer(String wavfile)
public WaveAudioPlayer(String wavfile, WaveAudioPlayer.Position p)
void stopPlaying()
void setPlaying()
boolean isPlaying()
boolean getIsPlaying()
void setIsPlaying(boolean isPlay)
void setIsPlaying()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses