Java com.badlogic.gdx.audio Sound fields, constructors, methods, implement or subclass

Example usage for Java com.badlogic.gdx.audio Sound fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.badlogic.gdx.audio Sound.

The text is from its open source code.

Implementation

com.badlogic.gdx.audio.Sound has the following implementations.
Click this link to see all its implementation.

Method

voiddispose()
Releases all the resources.
longloop()
Plays the sound, looping.
longloop(float volume)
Plays the sound, looping.
voidpause()
Pauses all instances of this sound.
longplay(float volume)
Plays the sound.
longplay()
Plays the sound.
longplay(float volume, float pitch, float pan)
Plays the sound.
voidresume()
Resumes all paused instances of this sound.
voidsetLooping(long soundId, boolean looping)
Sets the sound instance with the given id to be looping.
voidsetPan(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) .
voidsetVolume(long soundId, float volume)
Changes the volume of the sound instance with the given id as returned by #play() or #play(float) .
voidstop()
Stops playing all instances of this sound.
voidstop(long soundId)
Stops the sound instance with the given id as returned by #play() or #play(float) .