public class MP3PlayThread extends AudioPlayThread
Modifier and Type | Field and Description |
---|---|
private javazoom.jl.player.Player |
player |
song
Constructor and Description |
---|
MP3PlayThread(AudioVectorMetaData toPlay,
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
public MP3PlayThread(AudioVectorMetaData toPlay, PlayerListener caller)
toPlay
- the AudioVectorMetaData
to playcaller
- who to inform.public boolean doPlaying()
AudioPlayThread
doPlaying
in class AudioPlayThread
public void stopPlaying()
AudioPlayThread
AudioPlayThread.doPlaying()
should return stopPlaying
in class AudioPlayThread