[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [x3d-public] RE: SimpleSAIDemo doesn't work, no sound with OpenALException
Hi, all,
I compile and run the original Xj3d tutorial SimpleSAIDemo successfully, but
after I loaded another .x3d file I got from VizX3d sample with music file,
the scene is loaded correctly, but the no sound, and it is related to JOAL,
there is a OpenALException thrown, I used the most recent joal.dll and
joal.jar, it still had the same exception, anybody had this experience or
know what happened? I went to joal home site and did a search, but no
information can provide me any help.
Thanks
David
In SimpleSAIDemo
contructor...mainScene==[org.web3d.vrml.scripting.external.sai.SAIScene@9a18
a0]
[java] Loading failed: file:///C:\Xj3DM10\sai\examples\sai/honored.mid
[java] Warning: Cannot resolve any URLS for URL:
file:///C:\Xj3DM10\sai\examples\sai/honored.mid
[java] OpenAL initialisation error Could not load openal library.
[java] net.java.games.joal.OpenALException: Could not load openal
library.
[java] at net.java.games.joal.ALFactory.init(Native Method)
[java] at net.java.games.joal.ALFactory.initialize(Unknown
Source)
[java] at net.java.games.joal.ALFactory.getAL(Unknown
Source)
[java] at
org.j3d.aviatrix3d.audio.OpenALAudioDevice.draw(OpenALAudioDevice.java:159)
[java] at
org.j3d.aviatrix3d.pipeline.DefaultAudioPipeline.render(DefaultAudioPipeline
.java:129)
[java] at
org.j3d.aviatrix3d.pipeline.SingleThreadRenderManager.run(SingleThreadRender
Manager.java:714)
[java] at java.lang.Thread.run(Thread.java:534)
[java] net.java.games.jogl.GLException: java.lang.InterruptedException
[java] at
net.java.games.jogl.GLCanvas.withSingleThreadedWorkaroundDo(GLCanvas.java:22
5)
[java] at
net.java.games.jogl.GLCanvas.display(GLCanvas.java:75)
[java] at
org.j3d.aviatrix3d.surface.SimpleAWTSurface.draw(SimpleAWTSurface.java:396)
[java] at
org.j3d.aviatrix3d.pipeline.DefaultRenderPipeline.render(DefaultRenderPipeli
ne.java:150)
[java] at
org.j3d.aviatrix3d.pipeline.SingleThreadRenderManager.run(SingleThreadRender
Manager.java:708)
[java] at java.lang.Thread.run(Thread.java:534)
[java] Caused by: java.lang.InterruptedException
[java] at java.lang.Object.wait(Native Method)
[java] at java.lang.Object.wait(Object.java:429)
[java] at
java.awt.EventQueue.invokeAndWait(EventQueue.java:829)
[java] at
net.java.games.jogl.GLCanvas.withSingleThreadedWorkaroundDo(GLCanvas.java:22
0)
[java] ... 5 more
[java] ALFactory.init - Native: Enter
[java] ALFactory.init - Native: Exit
-------------------------------------------------------------------------
for list subscription/unsubscription,
go to http://www.web3d.org/cgi-bin/public_list_signup/lwgate/listsavail.html