Thu Jun 28 18:21:38 CDT 2012 ERROR:Failure reading in vorbisThu Jun 28 18:21:38 CDT 2012 ERROR:nulljava.lang.IndexOutOfBoundsException at java.io.BufferedInputStream.read(BufferedInputStream.java:310) at org.newdawn.slick.openal.OggInputStream.getPageAndPacket(OggInputStream.java:154) at org.newdawn.slick.openal.OggInputStream.readPCM(OggInputStream.java:294) at org.newdawn.slick.openal.OggInputStream.read(OggInputStream.java:446) at org.newdawn.slick.openal.OggDecoder.getData(OggDecoder.java:315) at org.newdawn.slick.openal.SoundStore.getOgg(SoundStore.java:835) at org.newdawn.slick.openal.SoundStore.getOgg(SoundStore.java:793) at org.newdawn.slick.Sound.<init>(Sound.java:58) at pkg30clicks.MainMenuState.init(MainMenuState.java:123) at org.newdawn.slick.state.StateBasedGame.init(StateBasedGame.java:171) at org.newdawn.slick.AppGameContainer.setup(AppGameContainer.java:390) at org.newdawn.slick.AppGameContainer.start(AppGameContainer.java:314) at pkg30clicks.Main30Clicks.main(Main30Clicks.java:86)
I keep forgetting to do this, but it'd be great if you could send your ogg to the Jorbis guys and see if they understand what the problem is (http://www.jcraft.com) and report back.
Regarding the mono issue - have you set the listener to the appropriate position, and the sound effect itself? Because I'm using the latest LWJGL here and all my mono stuff plays as expected (Vista64, stereo setup, Realtek)
click = new Sound("data/sounds/click_cut.ogg");
@cmasupra if possible, since you have a reproducible test case, could you try replacing the OpenAL32.dll/OpenAL64.dll files in latest LWJGL 2.8.4+ with the same files from LWJGL 2.7.1 to see if it fixes the issue for you?
I have now tested this. Using the 2.7.1 OpenAL dll files and LWJGL 2.8.5 files for everything else, the mono sounds played correctly in both ears. As soon as I switched back to the 2.8.5 1714 nightly OpenAL dll files, the mono sounds only played in my right ear.
Also worthy of note, I posted in the OpenAL crashing thread here because I am getting the "Deleting 64 source(s)" error with 2.8.4 and 2.8.5. When I tested the 2.7.1 OpenAL dll files just now, I didn't get the error. I'm only mentioning this here because it may somehow be related.