SEVERE: Failed to load audio library

Hello, I started with JME3 and I am really enjoying it, but then HelloAudio tutorial came and sound isn´t working at all :frowning:



When I come out of the game, it will show me this:



SEVERE: Failed to load audio library

org.lwjgl.LWJGLException: Could not locate OpenAL library.

at org.lwjgl.openal.AL.create(AL.java:151)

at org.lwjgl.openal.AL.create(AL.java:102)

at org.lwjgl.openal.AL.create(AL.java:201)

at com.jme3.audio.lwjgl.LwjglAudioRenderer.initInThread(LwjglAudioRenderer.java:140)

at com.jme3.audio.lwjgl.LwjglAudioRenderer.run(LwjglAudioRenderer.java:98)

at java.lang.Thread.run(Thread.java:722)



I am using Windows 8 - 64bit.

Thank you very much for every suggestion and sorry for my bad english.

What is the exception below that?

I have encountered something similar (I think) on several machines. The exception is thrown when Windows (7 - 64 bit) has no “sound device” connected and OpenAL cannot connect to the windows driver. When I connect speakers or headphones the exception is not thrown. When there are no speakers connected I get this:



AL lib: MMDevApiOpenPlayback: Device init failed: 0x80070490

AL lib: MMDevApiOpenPlayback: Device init failed: 0x80070490

AL lib: MMDevApiOpenPlayback: Device init failed: 0x80070490

AL lib: MMDevApiOpenPlayback: Device init failed: 0x80070490

(LwjglAudioRenderer.java:147) initInThread Failed to load audio library

org.lwjgl.LWJGLException: Could not locate OpenAL library.

at org.lwjgl.openal.AL.create(AL.java:151)

at org.lwjgl.openal.AL.create(AL.java:102)

at org.lwjgl.openal.AL.create(AL.java:201)

at com.jme3.audio.lwjgl.LwjglAudioRenderer.initInThread(LwjglAudioRenderer.java:140)

at com.jme3.audio.lwjgl.LwjglAudioRenderer.run(LwjglAudioRenderer.java:98)

at java.lang.Thread.run(Unknown Source)



Maybe it’s related to : Sound System crashes Java VM and 1 FPS · Issue #954 · Maescool/Catacomb-Snatch · GitHub

@Momoko_Fan said:
What is the exception below that?

No exception thrown. Program works fine but there is no sound.

maximusgrey: I´ve installed latest audio driver and tried it with both, speakers and headphones :)