Hi,
I am new to lwjgl and tried first test on my iMac and ran into this problem. When running the openal demos I encounterred these error "Unable to create OpenAL" which is dumped into the Console, despite I CAN hear the sound (e.g. the foot step in MovingSoundTest).
MacTim:lwjgl-1.1.4 stefan$ java -cp .:res:jar/lwjgl.jar:jar/lwjgl_test.jar:jar/lwjgl_util.jar:jar/lwjgl_fmod3.jar:jar/lwjgl_devil.jar:jar/jinput.jar: -Djava.library.path=native/macosx org.lwjgl.test.openal.MovingSoundTest
2008-05-01 22:09:05.215 java[670:c1b] LCC Scroll Enhancer loaded
Unable to create OpenAL.
Please make sure that OpenAL is available on this system. Exception: org.lwjgl.openal.OpenALException: ALC Invalid Device
no argument supplied, assuming Footsteps.wav
Move source with arrow keys
Move listener with right shift and arrowkeys
Exit with ESC
When running the "ALCTest" I get this:
MacTim:lwjgl-1.1.4 stefan$ java -cp .:res:jar/lwjgl.jar:jar/lwjgl_test.jar:jar/lwjgl_util.jar:jar/lwjgl_fmod3.jar:jar/lwjgl_devil.jar:jar/jinput.jar: -Djava.library.path=native/macosx org.lwjgl.test.openal.ALCTest
2008-05-01 21:50:43.969 java[557:c1b] LCC Scroll Enhancer loaded
Unable to create OpenAL.
Please make sure that OpenAL is available on this system. Exception: org.lwjgl.openal.OpenALException: ALC Invalid Device
DEFAULT_DEVICE_SPECIFIER: Ausgang (integriert)
DEVICE_SPECIFIER: Ausgang (integriert)
EXTENSIONS: ALC_EXT_CAPTURE ALC_ENUMERATION_EXT ALC_EXT_MAC_OSX ALC_EXT_ASA ALC_EXT_ASA_DISTORTION ALC_EXT_ASA_ROGER_BEEP
ALC_MAJOR_VERSION: 1
ALC_MINOR_VERSION: 1
Value of ALC_MAJOR_VERSION: 4096
Does not seem to be a problem since I can hear the sound and get the infos from openal. But when running a different demo named "ALCCaptureTest" I just got this error and nothing more:
MacTim:lwjgl-1.1.4 stefan$ java -cp .:res:jar/lwjgl.jar:jar/lwjgl_test.jar:jar/lwjgl_util.jar:jar/lwjgl_fmod3.jar:jar/lwjgl_devil.jar:jar/jinput.jar: -Djava.library.path=native/macosx org.lwjgl.test.openal.ALCCaptureTest
2008-05-01 21:50:52.808 java[559:c1b] LCC Scroll Enhancer loaded
Unable to create OpenAL.
Please make sure that OpenAL is available on this system. Exception: org.lwjgl.openal.OpenALException: ALC Invalid Device
Exception in thread "main" org.lwjgl.openal.OpenALException: ALC Invalid Device
at org.lwjgl.openal.Util.checkALCError(Util.java:55)
at org.lwjgl.openal.ALC10.alcGetString(ALC10.java:156)
at org.lwjgl.test.openal.ALCCaptureTest.execute(ALCCaptureTest.java:83)
at org.lwjgl.test.openal.ALCCaptureTest.main(ALCCaptureTest.java:151)
Any help is highly appreciated
spachner