Package com.prineside.luaj.mapping.parts
Class LJ_GDX.Sound_AI.LIP
java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX.Sound_AI.LIP
- All Implemented Interfaces:
 com.badlogic.gdx.audio.Sound,com.badlogic.gdx.utils.Disposable,com.esotericsoftware.kryo.KryoSerializable
- Enclosing class:
 - LJ_GDX.Sound_AI
 
public static class LJ_GDX.Sound_AI.LIP
extends InterfaceProxy
implements com.badlogic.gdx.audio.Sound
- 
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Releases all the resources.longloop()Plays the sound, looping.longloop(float p1) Plays the sound, looping.longloop(float p1, float p2, float p3) Plays the sound, looping.voidpause()Pauses all instances of this sound.voidpause(long p1) Pauses the sound instance with the given id as returned bySound.play()orSound.play(float).longplay()Plays the sound.longplay(float p1) Plays the sound.longplay(float p1, float p2, float p3) Plays the sound.voidresume()Resumes all paused instances of this sound.voidresume(long p1) Resumes the sound instance with the given id as returned bySound.play()orSound.play(float).voidsetLooping(long p1, boolean p2) Sets the sound instance with the given id to be looping.voidsetPan(long p1, float p2, float p3) Sets the panning and volume of the sound instance with the given id as returned bySound.play()orSound.play(float).voidsetPitch(long p1, float p2) Changes the pitch multiplier of the sound instance with the given id as returned bySound.play()orSound.play(float).voidsetVolume(long p1, float p2) Changes the volume of the sound instance with the given id as returned bySound.play()orSound.play(float).voidstop()Stops playing all instances of this sound.voidstop(long p1) Stops the sound instance with the given id as returned bySound.play()orSound.play(float).Methods inherited from class com.prineside.luaj.mapping.InterfaceProxy
getLuaObj, read, write 
- 
Method Details
- 
dispose
public void dispose()Description copied from interface:com.badlogic.gdx.audio.SoundReleases all the resources.- Specified by:
 disposein interfacecom.badlogic.gdx.utils.Disposable- Specified by:
 disposein interfacecom.badlogic.gdx.audio.Sound
 - 
loop
public long loop()Description copied from interface:com.badlogic.gdx.audio.SoundPlays the sound, looping. If the sound is already playing, it will be played again, concurrently.- Specified by:
 loopin interfacecom.badlogic.gdx.audio.Sound- Returns:
 - the id of the sound instance if successful, or -1 on failure.
 
 - 
loop
public long loop(float p1) Description copied from interface:com.badlogic.gdx.audio.SoundPlays the sound, looping. If the sound is already playing, it will be played again, concurrently. You need to stop the sound via a call toSound.stop(long)using the returned id.- Specified by:
 loopin interfacecom.badlogic.gdx.audio.Sound- Parameters:
 p1- the volume in the range [0, 1]- Returns:
 - the id of the sound instance if successful, or -1 on failure.
 
 - 
loop
public long loop(float p1, float p2, float p3) Description copied from interface:com.badlogic.gdx.audio.SoundPlays the sound, looping. If the sound is already playing, it will be played again, concurrently. You need to stop the sound via a call toSound.stop(long)using the returned id.- Specified by:
 loopin interfacecom.badlogic.gdx.audio.Sound- Parameters:
 p1- the volume in the range [0,1]p2- the pitch multiplier, 1 == default, >1 == faster, <1 == slower, the value has to be between 0.5 and 2.0p3- panning in the range -1 (full left) to 1 (full right). 0 is center position.- Returns:
 - the id of the sound instance if successful, or -1 on failure.
 
 - 
pause
public void pause()Description copied from interface:com.badlogic.gdx.audio.SoundPauses all instances of this sound.- Specified by:
 pausein interfacecom.badlogic.gdx.audio.Sound
 - 
pause
public void pause(long p1) Description copied from interface:com.badlogic.gdx.audio.SoundPauses the sound instance with the given id as returned bySound.play()orSound.play(float). If the sound is no longer playing, this has no effect.- Specified by:
 pausein interfacecom.badlogic.gdx.audio.Sound- Parameters:
 p1- the sound id
 - 
play
public long play()Description copied from interface:com.badlogic.gdx.audio.SoundPlays the sound. If the sound is already playing, it will be played again, concurrently.- Specified by:
 playin interfacecom.badlogic.gdx.audio.Sound- Returns:
 - the id of the sound instance if successful, or -1 on failure.
 
 - 
play
public long play(float p1) Description copied from interface:com.badlogic.gdx.audio.SoundPlays the sound. If the sound is already playing, it will be played again, concurrently.- Specified by:
 playin interfacecom.badlogic.gdx.audio.Sound- Parameters:
 p1- the volume in the range [0,1]- Returns:
 - the id of the sound instance if successful, or -1 on failure.
 
 - 
play
public long play(float p1, float p2, float p3) Description copied from interface:com.badlogic.gdx.audio.SoundPlays the sound. If the sound is already playing, it will be played again, concurrently.- Specified by:
 playin interfacecom.badlogic.gdx.audio.Sound- Parameters:
 p1- the volume in the range [0,1]p2- the pitch multiplier, 1 == default, >1 == faster, <1 == slower, the value has to be between 0.5 and 2.0p3- panning in the range -1 (full left) to 1 (full right). 0 is center position.- Returns:
 - the id of the sound instance if successful, or -1 on failure.
 
 - 
resume
public void resume()Description copied from interface:com.badlogic.gdx.audio.SoundResumes all paused instances of this sound.- Specified by:
 resumein interfacecom.badlogic.gdx.audio.Sound
 - 
resume
public void resume(long p1) Description copied from interface:com.badlogic.gdx.audio.SoundResumes the sound instance with the given id as returned bySound.play()orSound.play(float). If the sound is not paused, this has no effect.- Specified by:
 resumein interfacecom.badlogic.gdx.audio.Sound- Parameters:
 p1- the sound id
 - 
setLooping
public void setLooping(long p1, boolean p2) Description copied from interface:com.badlogic.gdx.audio.SoundSets the sound instance with the given id to be looping. If the sound is no longer playing this has no effect.s- Specified by:
 setLoopingin interfacecom.badlogic.gdx.audio.Sound- Parameters:
 p1- the sound idp2- whether to loop or not.
 - 
setPan
public void setPan(long p1, float p2, float p3) Description copied from interface:com.badlogic.gdx.audio.SoundSets the panning and volume of the sound instance with the given id as returned bySound.play()orSound.play(float). If the sound is no longer playing, this has no effect. Note that panning only works for mono sounds, not for stereo sounds!- Specified by:
 setPanin interfacecom.badlogic.gdx.audio.Sound- Parameters:
 p1- the sound idp2- panning in the range -1 (full left) to 1 (full right). 0 is center position.p3- the volume in the range [0,1].
 - 
setPitch
public void setPitch(long p1, float p2) Description copied from interface:com.badlogic.gdx.audio.SoundChanges the pitch multiplier of the sound instance with the given id as returned bySound.play()orSound.play(float). If the sound is no longer playing, this has no effect.- Specified by:
 setPitchin interfacecom.badlogic.gdx.audio.Sound- Parameters:
 p1- the sound idp2- the pitch multiplier, 1 == default, >1 == faster, <1 == slower, the value has to be between 0.5 and 2.0
 - 
setVolume
public void setVolume(long p1, float p2) Description copied from interface:com.badlogic.gdx.audio.SoundChanges the volume of the sound instance with the given id as returned bySound.play()orSound.play(float). If the sound is no longer playing, this has no effect.- Specified by:
 setVolumein interfacecom.badlogic.gdx.audio.Sound- Parameters:
 p1- the sound idp2- the volume in the range 0 (silent) to 1 (max volume).
 - 
stop
public void stop()Description copied from interface:com.badlogic.gdx.audio.SoundStops playing all instances of this sound.- Specified by:
 stopin interfacecom.badlogic.gdx.audio.Sound
 - 
stop
public void stop(long p1) Description copied from interface:com.badlogic.gdx.audio.SoundStops the sound instance with the given id as returned bySound.play()orSound.play(float). If the sound is no longer playing, this has no effect.- Specified by:
 stopin interfacecom.badlogic.gdx.audio.Sound- Parameters:
 p1- the sound id
 
 -