Package com.jme3.niftygui
Class SoundHandleJme
java.lang.Object
com.jme3.niftygui.SoundHandleJme
- All Implemented Interfaces:
 de.lessvoid.nifty.spi.sound.SoundHandle
- 
Constructor Summary
ConstructorsConstructorDescriptionSoundHandleJme(AudioRenderer ar, AssetManager am, String fileName) For streaming music only.SoundHandleJme(AudioRenderer ar, AudioNode node)  - 
Method Summary
 
- 
Constructor Details
- 
SoundHandleJme
 - 
SoundHandleJme
For streaming music only. (May need to loop.)- Parameters:
 ar- for rendering audio (not null)am- the AssetManager for loading assets (not null)fileName- the path to the audio asset (not null)
 
 - 
 - 
Method Details
- 
play
public void play()- Specified by:
 playin interfacede.lessvoid.nifty.spi.sound.SoundHandle
 - 
stop
public void stop()- Specified by:
 stopin interfacede.lessvoid.nifty.spi.sound.SoundHandle
 - 
setVolume
public void setVolume(float f) - Specified by:
 setVolumein interfacede.lessvoid.nifty.spi.sound.SoundHandle
 - 
getVolume
public float getVolume()- Specified by:
 getVolumein interfacede.lessvoid.nifty.spi.sound.SoundHandle
 - 
isPlaying
public boolean isPlaying()- Specified by:
 isPlayingin interfacede.lessvoid.nifty.spi.sound.SoundHandle
 - 
dispose
public void dispose()- Specified by:
 disposein interfacede.lessvoid.nifty.spi.sound.SoundHandle
 
 -