Метод | Описание | |
---|---|---|
Dispose ( ) : void | ||
PlayerApplet ( ) : System | ||
Run ( ) : void |
The run method for the audio player thread. Simply calls play() on the player to play the entire stream.
|
|
getParameter ( System paramName ) : String | ||
init ( ) : void |
Initializes this applet.
|
|
isActive ( ) : bool | ||
start ( ) : void |
Starts this applet. An input stream and audio device are created and passed to the play() method.
|
|
stop ( ) : void |
Stops this applet. If audio is currently playing, it is stopped.
|
Метод | Описание | |
---|---|---|
createPlayerThread ( ) : SupportClass.ThreadClass |
Creates a new thread used to run the audio player.
|
|
play ( System @in, AudioDevice dev ) : void |
Decompresses audio data from an InputStream and plays it back through an AudioDevice. The playback is run on a newly created thread.
|
|
stopPlayer ( ) : void |
Stops the audio player. If the player is already stopped this method is a no-op.
|
Метод | Описание | |
---|---|---|
javazoom ( System sender, System e ) : void |
protected createPlayerThread ( ) : SupportClass.ThreadClass | ||
Результат | SupportClass.ThreadClass |
public getParameter ( System paramName ) : String | ||
paramName | System | |
Результат | String |
protected play ( System @in, AudioDevice dev ) : void | ||
@in | System | |
dev | AudioDevice | |
Результат | void |