|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jme.sound.openAL.objects.util.StreamPlayer
| Method Summary | |
void |
closeStream(int streamNumber)
Closes the stream with the given number |
static StreamPlayer |
getInstance()
|
boolean |
isPlaying(int streamNumber)
Pauses the stream with the given number |
float |
length(int streamNumber)
|
void |
loopStream(int streamNumber,
boolean loop)
Closes the stream with the given number |
int |
openStream(java.lang.String file)
Tries to open an ogg or wav file. |
boolean |
pauseStream(int streamNumber)
Pauses the stream with the given number |
void |
play(int streamNumber)
|
void |
stopStream(int streamNumber)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static StreamPlayer getInstance()
public int openStream(java.lang.String file)
file - the audio file To open
public void closeStream(int streamNumber)
streamNumber - the stream to close
public void loopStream(int streamNumber,
boolean loop)
streamNumber - the stream to closepublic void stopStream(int streamNumber)
public boolean pauseStream(int streamNumber)
streamNumber - the stream to closepublic boolean isPlaying(int streamNumber)
streamNumber - the stream to closepublic void play(int streamNumber)
public float length(int streamNumber)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||