| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Ogg | back to summary |
|---|---|
| public Ogg() | |
| Modifier and Type | Field and Description |
|---|---|
| private OggInputStream | |
| private OggInputStream |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | loop()
Overrides com. By default, does just the same as reset(). |
| public int | read(byte[] buffer)
Implements abstract com. Fills as much of the buffer as possible and returns the number of bytes filled. |
| public void | reset()
Implements abstract com. Resets the stream to the beginning. |
| input | back to summary |
|---|---|
| private OggInputStream input | |
| previousInput | back to summary |
|---|---|
| private OggInputStream previousInput | |
| Music | back to summary |
|---|---|
| public Music(OpenALLwjgl3Audio audio, FileHandle file) | |
| loop | back to summary |
|---|---|
| protected void loop() Overrides com. Doc from com. By default, does just the same as reset(). Used to add special behaviour in Ogg.Music.
| |
| read | back to summary |
|---|---|
| public int read(byte[] buffer) Implements abstract com. Doc from com. Fills as much of the buffer as possible and returns the number of bytes filled. Returns <= 0 to indicate the end of the stream. | |
| reset | back to summary |
|---|---|
| public void reset() Implements abstract com. Doc from com. Resets the stream to the beginning. | |
| Access | Constructor and Description |
|---|---|
| public |
| Sound | back to summary |
|---|---|
| public Sound(OpenALLwjgl3Audio audio, FileHandle file) | |