org.xiph.speex.player
Class Player.Playback
java.lang.Object
org.xiph.speex.player.Player.Playback
- Player
- Runnable
protected class Player.Playback
extends java.lang.Object
implements Runnable
Playback thread
void | run() - The code that runs in the thread and fills the JavaSound playback buffer.
|
protected void | setupSound() - Setup the JavaSound System to play the Audio.
|
protected void | start() - Start the playback thread which fills the JavaSound playback buffer.
|
protected void | stop() - Stop the playback thread and destroy all resources.
|
audioFormat
protected AudioFormat audioFormat
audioInputStream
protected AudioInputStream audioInputStream
audioStream
protected InputStream audioStream
buffer
protected byte[] buffer
info
protected DataLine.Info info
line
protected SourceDataLine line
thread
protected Thread thread
written
protected int written
run
public void run()
The code that runs in the thread and fills the JavaSound playback buffer.
Implemented from Runnable interface.
setupSound
protected void setupSound()
Setup the JavaSound System to play the Audio.
start
protected void start()
Start the playback thread which fills the JavaSound playback buffer.
stop
protected void stop()
Stop the playback thread and destroy all resources.
Copyright © 1999-2004 Wimba S.A. All Rights Reserved.