net.jinx.audio
Class DefaultListener

java.lang.Object
  extended by net.jinx.audio.AbstractListener
      extended by net.jinx.audio.DefaultListener
All Implemented Interfaces:
Listener

public class DefaultListener
extends AbstractListener

Simple Listener implementation that corresponds to the default Camera of the net.jinx.model package.

API Stability: Alpha; this is subject to change at any time.


Constructor Summary
DefaultListener()
          Constructs a DefaultListener.
 
Method Summary
 void listen()
          Calls lookAt(0,0,0, 0,0,1, 0,1,0) and setVelocity(0,0,0).
 
Methods inherited from class net.jinx.audio.AbstractListener
deinit, getAL, getALC, getGain, getOrientation, getPosition, getVelocity, init, isInitialized, lookAt, lookAt, setGain, setOrientation, setPosition, setPosition, setVelocity, setVelocity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultListener

public DefaultListener()
Constructs a DefaultListener.

Method Detail

listen

public void listen()
Calls lookAt(0,0,0, 0,0,1, 0,1,0) and setVelocity(0,0,0). This is identical to the settings used by a default Camera from the model package. Gain is not set, so that must be controlled externally.