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, update
public Music(Mini2DxOpenALAudio audio, com.badlogic.gdx.files.FileHandle file)
public int read(byte[] buffer)
Mini2DxOpenALMusic
read
in class Mini2DxOpenALMusic
public void reset()
Mini2DxOpenALMusic
reset
in class Mini2DxOpenALMusic