com.jme.sound.openAL.objects
Class Sample3D

java.lang.Object
  extended bycom.jme.sound.openAL.scene.Playable
      extended bycom.jme.sound.openAL.scene.SoundSpatial
          extended bycom.jme.sound.openAL.objects.Sample3D

public class Sample3D
extends SoundSpatial

Author:
Arman

Field Summary
 
Fields inherited from class com.jme.sound.openAL.scene.SoundSpatial
allowInterrupt
 
Fields inherited from class com.jme.sound.openAL.scene.Playable
configuration, configured, listener, sourceNumber
 
Constructor Summary
Sample3D(Listener listener, java.lang.String file)
           
Sample3D(java.lang.String file)
           
 
Method Summary
 void bindEvent(int eventNumber)
           
 void delete()
           
 void draw()
           
 boolean fireEvent(int eventNumber)
          Used internally for firing an event on this sound playing object.
 boolean isPlaying()
           
 boolean pause()
           
 boolean play()
           
 void setConfiguration(Configuration conf)
           
 void setMaxAudibleDistance(int max)
           
 void setMinDistance(int min)
           
 void setPosition(float x, float y, float z)
           
 void setVelocity(float x, float y, float z)
           
 void setVolume(float volume)
           
 boolean stop()
           
 
Methods inherited from class com.jme.sound.openAL.scene.SoundSpatial
allowsInterrupt, getParent, onDraw, propagateBoundToRoot, setAllowInterrupt, setForceCull, setParent, updateGeometricState, updateWorldData
 
Methods inherited from class com.jme.sound.openAL.scene.Playable
getFxChorusID, getFxCompressorID, getFxDistorsionID, getFxEchoID, getFxFlangerID, getFxGargleID, getFxI3DL2ReverbID, getFxMaxID, getFxParamEqID, getFxWavesReverbID, resetConfig, setFxChorusID, setFxCompressorID, setFxDistorsionID, setFxEchoID, setFxFlangerID, setFxGargleID, setFxI3DL2ReverbID, setFxMaxID, setFxParamEqID, setFxWavesReverbID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sample3D

public Sample3D(java.lang.String file)

Sample3D

public Sample3D(Listener listener,
                java.lang.String file)
Method Detail

setConfiguration

public void setConfiguration(Configuration conf)

draw

public void draw()
Specified by:
draw in class SoundSpatial

play

public boolean play()

pause

public boolean pause()

stop

public boolean stop()

isPlaying

public boolean isPlaying()

delete

public void delete()

setPosition

public void setPosition(float x,
                        float y,
                        float z)

setVelocity

public void setVelocity(float x,
                        float y,
                        float z)

setMinDistance

public void setMinDistance(int min)

setVolume

public void setVolume(float volume)

setMaxAudibleDistance

public void setMaxAudibleDistance(int max)

bindEvent

public void bindEvent(int eventNumber)

fireEvent

public boolean fireEvent(int eventNumber)
Used internally for firing an event on this sound playing object.

Specified by:
fireEvent in class SoundSpatial
Returns:
true if the event has been fired and false if this sound does not "know" the event