public static class Mini2DxWav.Music extends Mini2DxOpenALMusic
bufferOverhead, file| Constructor and Description |
|---|
Music(Mini2DxOpenALAudio audio,
com.badlogic.gdx.files.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, loop, pause, play, setLooping, setOnCompletionListener, setPan, setPosition, setup, setVolume, stop, updatepublic Music(Mini2DxOpenALAudio audio, com.badlogic.gdx.files.FileHandle file)
public int read(byte[] buffer)
Mini2DxOpenALMusicread in class Mini2DxOpenALMusicpublic void reset()
Mini2DxOpenALMusicreset in class Mini2DxOpenALMusic