EAX and sound

I have tried to run the HelloIntersection program, but when running this demo, I get:





15-Aug-2004 17:47:11 com.jme.sound.lwjgl.SoundSystem initalizeEAX
WARNING: Failed to Initialize EAX
org.lwjgl.openal.OpenALException: Unable to determine EAX Extensions
at org.lwjgl.openal.eax.EAX20.determineAvailableExtensions(Native Method)
at org.lwjgl.openal.eax.EAX20.init(Unknown Source)
at org.lwjgl.openal.eax.EAX.create(Unknown Source)
at com.jme.sound.lwjgl.SoundSystem.initalizeEAX(Unknown Source)
at com.jme.sound.lwjgl.SoundSystem.(Unknown Source)
at com.jme.sound.SoundAPIController.getSoundSystem(Unknown Source)
at jmetest.TutorialGuide.HelloIntersection.setupSound(Unknown Source)
at jmetest.TutorialGuide.HelloIntersection.simpleInitGame(Unknown Source)
at com.jme.app.SimpleGame.initGame(Unknown Source)
at com.jme.app.BaseGame.start(Unknown Source)
at jmetest.TutorialGuide.HelloIntersection.main(Unknown Source)
15-Aug-2004 17:47:11 com.jme.sound.scene.SoundNode


I am not sure what EAX is and where I get it from?
tomcat

Your sound card does not support EAX, which is just a Creative Brands effects processing tool. If that exception is thrown it simply means the sound card is not supporting EAX and it won’t be used. You should be able to continue on with out problems.

You are right as it just ignores it. But I came across something else. Out of four test programs for sound only TestSoundGraph seems to work. With the others I get this problems:



TestProgrammableSound

INFO: Child (Box) attached to this node (rootNode)
java.lang.NullPointerException
at com.jme.sound.SoundPool.getBuffer(Unknown Source)
at com.jme.sound.SoundPool.compile(Unknown Source)
at jmetest.sound.TestProgrammableSound.simpleInitGame(Unknown Source)
at com.jme.app.SimpleGame.initGame(Unknown Source)
at com.jme.app.BaseGame.start(Unknown Source)
at jmetest.sound.TestProgrammableSound.main(Unknown Source)
16-Aug-2004 14:40:37 com.jme.app.SimpleGame cleanup
INFO: Cleaning up resources.
16-Aug-2004 14:40:37 com.jme.app.BaseGame start
INFO: Application ending.


PongRevisted

INFO: Child (UINODE) attached to this node (UINODE)
java.lang.NullPointerException
at com.jme.sound.SoundPool.getBuffer(Unknown Source)
at com.jme.sound.SoundPool.compile(Unknown Source)
at jmetest.sound.PongRevisited.simpleInitGame(Unknown Source)
at com.jme.app.SimpleGame.initGame(Unknown Source)
at com.jme.app.BaseGame.start(Unknown Source)
at jmetest.sound.PongRevisited.main(Unknown Source)
16-Aug-2004 14:41:40 com.jme.app.SimpleGame cleanup
INFO: Cleaning up resources.
16-Aug-2004 14:41:40 com.jme.app.BaseGame start
INFO: Application ending.



TestSequencedSound

INFO: Node created.
java.lang.NullPointerException
at com.jme.sound.SoundPool.getBuffer(Unknown Source)
at com.jme.sound.scene.SphericalSound.(Unknown Source)
at jmetest.sound.TestSequencedSound.simpleInitGame(Unknown Source)
at com.jme.app.SimpleGame.initGame(Unknown Source)
at com.jme.app.BaseGame.start(Unknown Source)
at jmetest.sound.TestSequencedSound.main(Unknown Source)
16-Aug-2004 14:42:28 com.jme.app.SimpleGame cleanup
INFO: Cleaning up resources.
16-Aug-2004 14:42:28 com.jme.app.BaseGame start
INFO: Application ending.


I am missing some files. I downloaded a version on Aug-13.
tomcat

the URL to the sound is not correct. Try and copy something from /data to /jmetest/data instead and change the URL.



DP

Great, :slight_smile: did as you said and its working.

tomcat

They exist in jme/data/sound, so you can copy them over from there. The sound stuff has gotten a bit rusty lately. Because this is in the EAX thread, it should be mentioned that LWJGL removed EAX support in 0.95, and as such it will be removed when we move to support it.

If your card doesn’t support EAX (which not that many (except creative) do), it’s normal.