PaulsCode SoundSystem

Hello,

I’m having a problem, I just copied the example two of PaulsCode SoundSystem tutorial and its giving me this error:


Error in class 'CodecJOgg'
    url null in method 'initialize'
Error in class 'SourceLWJGL OpenAL'
    Audio Format null in method 'play'
Error in class 'CodecJOgg'
    url null in method 'initialize'
Error in class 'SourceLWJGL OpenAL'
    Audio Format null in method 'play'

Error in class 'LibraryLWJGLOpenAL'
Unable to open file 'sounds\explosion.wav' in method 'loadSound'
Error in class 'LibraryLWJGLOpenAL'
Sound buffer was not created for sounds\explosion.wav
Error in class 'LibraryLWJGLOpenAL'
Source 'Source_-776755289_-2094588583' not found in method 'play'

My Code:

	public static void mytest() {
		try {
			SoundSystemConfig.addLibrary(LibraryLWJGLOpenAL.class);
			SoundSystemConfig.addLibrary(LibraryJavaSound.class);
			SoundSystemConfig.setCodec("wav", CodecWav.class);
			SoundSystemConfig.setCodec("ogg", CodecJOgg.class);
		} catch (SoundSystemException e) {
			System.err.println("error linking with the pluggins");
		}
		SoundSystem mySoundSystem = new SoundSystem();
		mySoundSystem.backgroundMusic("Cool Music", GameValues.dir + "sounds\\beats.ogg", true);
		mySoundSystem.setMasterVolume(0.5f);
		sleep(2000);
		for (int x = 0; x < 15; x++) {
			if (x % 2 == 0) mySoundSystem.quickPlay(false, GameValues.dir + "sounds\\explosion.wav", false, 20, 0, 0, SoundSystemConfig.ATTENUATION_ROLLOFF, SoundSystemConfig.getDefaultRolloff());
			else mySoundSystem.quickPlay(false, GameValues.dir + "sounds\\explosion.wav", false, -20, 0, 0, SoundSystemConfig.ATTENUATION_ROLLOFF, SoundSystemConfig.getDefaultRolloff());
			sleep(125);
		}
		sleep(10000);
		mySoundSystem.cleanup();
	}

Why is this?

I have:
lwjgl_util
lwjgl
SoundSystem
SoundSystemJPCT
SoundSystemUtils
imports…

Do I need them all? do I need more?

What I want is a 2D Sound Engine for a 2D Game…

Please help?

PS: Can it be something on the buildpath?

Hi

Yes there is probably something wrong with your paths.