OpenAL in LWJGL 0.6

Can anyone provide me with or point me to some working OpenAL code for LWJGL 0.6? I’d be very happy with a wav (or any sound file really) playing back. I’ve tried some older tutorials, and converting some C OpenAl tutorials, and using the current CVS, but they don’t seem to work and I don’t know enough to fix them.

Thanks!

Sure. Take a look at org.lwjgl.test.openal.* there are lots of tests in there http://prdownloads.sourceforge.net/java-game-lib/lwjgl-source-0.6.zip?download

specifically look at BasicTest.java & PlayTest.java. PlayTest creates 1 buffer and 1 source, then plays it for 5 seconds and then exits.