public class DataPusher
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
DataPusher(javax.sound.sampled.SourceDataLine sourceLine,
javax.sound.sampled.AudioFormat format,
byte[] audioData,
int byteLength) |
DataPusher(javax.sound.sampled.SourceDataLine sourceLine,
javax.sound.sampled.AudioInputStream ais) |
Modifier and Type | Method and Description |
---|---|
void |
run()
Write data to the source data line.
|
void |
start() |
void |
start(boolean loop) |
void |
stop() |