|
Aviatrix3D 1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.j3d.aviatrix3d.audio.OpenALAudioDevice
Implementation of the most basic audio device, supporting the minimal number of features using OpenAL.
Constructor Summary | |
OpenALAudioDevice()
Construct a surface that requires the given set of capabilities. |
Method Summary | |
void |
dispose()
Instruct this surface that you have finished with the resources needed and to dispose all rendering resources. |
void |
draw()
Instruct the surface to draw the collected set of nodes now. |
java.lang.Object |
getSurfaceObject()
Get the underlying object that this surface is rendered to. |
void |
queueDeletedObject(DeletableSceneGraphObject obj)
An object has been detected as being deleted (no internal or external references to it left) and it needs to be cleaned up. |
void |
setDrawableObjects(AudioInstructions commands)
Update the list of items to be rendered to the current list. |
void |
setRenderControlThread(java.lang.Thread th)
Tell the surface to use the given thread as the rendering control thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OpenALAudioDevice()
Method Detail |
public void queueDeletedObject(DeletableSceneGraphObject obj)
cleanup()
method called and then the
reference to it should be discarded.
queueDeletedObject
in interface AudioDevice
obj
- The instance to queuepublic void setDrawableObjects(AudioInstructions commands)
setDrawableObjects
in interface AudioDevice
commands
- The list of drawable surfaces to renderpublic void draw()
draw
in interface AudioDevice
public java.lang.Object getSurfaceObject()
getSurfaceObject
in interface AudioDevice
public void dispose()
dispose
in interface AudioDevice
public void setRenderControlThread(java.lang.Thread th)
setRenderControlThread
in interface AudioDevice
th
- The render control thread instance to use or null
|
Aviatrix3D 1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |