public final class StreamPlayer extends Object
Constructor and Description |
---|
StreamPlayer() |
Modifier and Type | Method and Description |
---|---|
void |
interrupt()
Interrupt the audioStream.
|
void |
playStream(InputStream stream)
Play the given InputStream.
|
public void playStream(InputStream stream)
stream
- the streampublic void interrupt()