public static void init()
	{		
		try { SoundSystemConfig.setCodec("ogg",CodecJOgg.class); }
		catch(SoundSystemException e) { Log.error("Unable to register JOgg codec.  .ogg sounds will not work on this machine!"); }
		
		try { SoundSystemConfig.setCodec("wav",CodecWav.class); }
		catch(SoundSystemException e) { Log.error("Unable to register wav codec.  .wav sounds will not work on this machine!"); }
		
		boolean openal_compatible = SoundSystemConfig.libraryCompatible(LibraryLWJGLOpenAL.class);
		boolean javasound_compatible = SoundSystemConfig.libraryCompatible(LibraryJavaSound.class);
		
		try
		{
			if(openal_compatible)
				soundSystem = new SoundSystem(LibraryLWJGLOpenAL.class);
			else if(javasound_compatible)
				soundSystem = new SoundSystem(LibraryJavaSound.class);
			else
				soundSystem = new SoundSystem(Library.class);
		} catch(SoundSystemException e)
		{
			throw new Remote2DException(e,"Error initializing the soundsystem!");
		}
		
	}