Example usage for Java com.badlogic.gdx.audio Sound fields, constructors, methods, implement or subclass
The text is from its open source code.
void | dispose() Releases all the resources. |
long | loop() Plays the sound, looping. |
long | loop(float volume) Plays the sound, looping. |
void | pause() Pauses all instances of this sound. |
long | play(float volume) Plays the sound. |
long | play() Plays the sound. |
long | play(float volume, float pitch, float pan) Plays the sound. |
void | resume() Resumes all paused instances of this sound. |
void | setLooping(long soundId, boolean looping) Sets the sound instance with the given id to be looping. |
void | setPan(long soundId, float pan, float volume) Sets the panning and volume of the sound instance with the given id as returned by #play() or #play(float) . |
void | setVolume(long soundId, float volume) Changes the volume of the sound instance with the given id as returned by #play() or #play(float) . |
void | stop() Stops playing all instances of this sound. |
void | stop(long soundId) Stops the sound instance with the given id as returned by #play() or #play(float) . |