private static void loadAudio() {
		File f = new File(Preferences.AUDIO_PATH);
		String[] files = f.list();
		
		if (files != null) {
			for (String s : files) {
				try {
					Clip clip = AudioSystem.getClip();
					AudioInputStream inputStream = AudioSystem.getAudioInputStream(new File(Preferences.AUDIO_PATH + "/" + s));
					clip.open(inputStream);
				} catch (Exception e) {
					System.err.println("Couldn't load audio: " + s);
				}				
			}
			
			// Deprecated for the Applet audio API
			/*
			AudioClip readAudio;
			for (String s : files) {
				readAudio = applet.getAudioClip(applet.getCodeBase(), Preferences.AUDIO_PATH + "/" + s);
				if (readAudio != null) {
					audio.put(s, readAudio);
				}
			}
			*/
		}
	}