|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Listener
Listener represents any object that is responsible for setting OpenAL
parameters and options for the listener. If you consider the point of view
in a scene to be a camera, then this is the microphone.
In most implementations of an audio system, only one Listener can be active
at once, so any Listener after the first will probably be ignored. This is
how AudioRenderer in the action library is implemented.
API Stability: Alpha; this is subject to change at any time.
Method Summary | |
---|---|
void |
deinit()
Deinitializes this Listener, disposing of any resources it may be tying up. |
void |
init(net.java.games.joal.AL al,
net.java.games.joal.ALC alc)
Initializes this Listener, preparing it for use. |
void |
listen()
Updates OpenAL with new data for this Listener. |
Method Detail |
---|
void init(net.java.games.joal.AL al, net.java.games.joal.ALC alc)
al
- the AL object to use for audio rendering. If this is null, a
NullPointerException should be thrown.alc
- the ALC object to use for audio rendering. If this is null, a
NullPointerException should be thrown.void listen()
void deinit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |