Crash when trying to run HelloIntersection on OS X

Hello, I’m trying to run the HelloIntersection demo but it crashes due to its usage of sound:

INFO: Child (FPS label) attached to this node (FPS node)
DigiCoreAudioDriver> Found 9 entries in 'SupportedApps.txt'.
## Component Manager: attempting to find symbols in a component alias of type (regR/carP/x!bt)
Feb 20, 2005 12:12:12 AM com.jme.sound.lwjgl.SoundSystem initializeOpenAL
INFO: OpenAL initalized!
Feb 20, 2005 12:12:12 AM com.jme.sound.lwjgl.SoundSystem initalizeEAX
INFO: Initalizing EAX
Feb 20, 2005 12:12:12 AM com.jme.sound.lwjgl.SoundSystem initalizeEAX
WARNING: Failed to Initialize EAX
org.lwjgl.LWJGLException: EAX instance could not be created.
        at org.lwjgl.openal.eax.EAX.create(EAX.java:64)
        at com.jme.sound.lwjgl.SoundSystem.initalizeEAX(Unknown Source)
        at com.jme.sound.lwjgl.SoundSystem.<init>(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)
Feb 20, 2005 12:12:12 AM com.jme.sound.scene.SoundNode <init>
INFO: Node created.
Feb 20, 2005 12:12:12 AM com.jme.sound.lwjgl.SoundSystem loadOGG
INFO: Title=laser
Feb 20, 2005 12:12:12 AM com.jme.sound.lwjgl.SoundSystem loadOGG
INFO: Encoded by=MP3 To Wave Converter PLUS 2.341
Feb 20, 2005 12:12:12 AM com.jme.sound.lwjgl.SoundSystem loadOGG
INFO:
Bitstream is 1 channel, 32000Hz
Feb 20, 2005 12:12:12 AM com.jme.sound.lwjgl.SoundSystem loadOGG
INFO: Encoded by: Xiph.Org libVorbis I 20030909

Feb 20, 2005 12:12:13 AM com.jme.sound.lwjgl.SoundSystem loadOGG
INFO: Sample rate= 32000
Feb 20, 2005 12:12:13 AM com.jme.sound.lwjgl.SoundSystem loadOGG
INFO: Estimated Play Time 0.562
java.lang.NullPointerException
        at com.jme.sound.SoundPool.getBuffer(Unknown Source)
        at com.jme.sound.SoundPool.compile(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)
Feb 20, 2005 12:12:13 AM com.jme.app.SimpleGame cleanup
INFO: Cleaning up resources.
Feb 20, 2005 12:12:13 AM com.jme.input.lwjgl.LWJGLMouseInput setCursorVisible
WARNING: Problem showing mouse cursor.
Feb 20, 2005 12:12:13 AM com.jme.app.BaseGame start
INFO: Application ending.


Any help would be greatly appreciated. I'm also using lwjgl 0.94 for the mac, as well as the latest CVS build. FYI, as indicated in this post, most sound file formats that are 16 bit have the bytes flipped on the mac (which uses big-endian to store certain information).

Ok, well, I fixed the crashing. It was because the source searches for “explosion.ogg” when it should be looking for “explosion.wav”.



However, there’s still that problem that I described earlier of not reading the sound correctly because of the format it’s in. Both the ogg and wav files are being read incorrectly (again, here’s the link as to why). So they sound very “staticy”, like white noise. This might not be a problem with jME but whatever jME is using to read these sound files.



What does jME use to read the sound files? LWJGL? Is it the same for ogg and wav files?



EDIT: Continued in this thread.