|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsound.echo.SimpleSoundPlayer
public class SimpleSoundPlayer
Constructor Summary | |
---|---|
SimpleSoundPlayer(java.lang.String filename)
Opens a sound from a file. |
Method Summary | |
---|---|
byte[] |
getSamples()
Gets the samples of this sound as a byte array. |
static void |
main(java.lang.String[] args)
|
void |
play(java.io.InputStream source)
Plays a stream. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleSoundPlayer(java.lang.String filename)
Method Detail |
---|
public static void main(java.lang.String[] args)
public byte[] getSamples()
public void play(java.io.InputStream source)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |