public static class Wav.Music extends OpenALMusic
Music.OnCompletionListener| Constructor and Description |
|---|
Music(OpenALLwjgl3Audio audio,
FileHandle file) |
| Modifier and Type | Method and Description |
|---|---|
int |
read(byte[] buffer)
Fills as much of the buffer as possible and returns the number of bytes filled.
|
void |
reset()
Resets the stream to the beginning.
|
dispose, getChannels, getPosition, getRate, getSourceId, getVolume, isLooping, isPlaying, pause, play, setLooping, setOnCompletionListener, setPan, setPosition, setVolume, stop, updatepublic Music(OpenALLwjgl3Audio audio, FileHandle file)
public int read(byte[] buffer)
OpenALMusicread in class OpenALMusicpublic void reset()
OpenALMusicreset in class OpenALMusicCopyright © 2021. All rights reserved.