| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Mp3 | back to summary |
|---|---|
| public Mp3() | |
| Modifier and Type | Field and Description |
|---|---|
| private Bitstream | |
| private MP3Decoder | |
| private OutputBuffer |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| 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. |
| bitstream | back to summary |
|---|---|
| private Bitstream bitstream | |
| decoder | back to summary |
|---|---|
| private MP3Decoder decoder | |
| outputBuffer | back to summary |
|---|---|
| private OutputBuffer outputBuffer | |
| Music | back to summary |
|---|---|
| public Music(OpenALLwjglAudio audio, FileHandle file) | |
| 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(OpenALLwjglAudio audio, FileHandle file) | |