public static void stopAllSounds() {
		// Get an iterator.
		Iterator<WeakReference<Sound>> iterator = Sound.allSounds.iterator();

		// Loop.
		while (iterator.hasNext()) {
			// Get the reference.
			WeakReference<Sound> soundReference = iterator.next();

			// Is it non-null?
			if (soundReference != null) {
				// Get the referenced object.
				Sound sound = soundReference.get();

				// Is it still referenced?
				if (sound != null && sound.clip != null) {
					try {
						// Stop it.
						sound.stop();
					} catch (IllegalStateException ise) {
						// Just in case. That's okay.
						ise.printStackTrace();
					}
				}
			}

			// In any case, remove it from the list.
			iterator.remove();
		}
	}