}
}
public static Sound2D loadSound2D(InputStream source) {
try {
Sound2D snd = new Sound2D(source);
return snd;
} catch (UnsupportedAudioFileException | IOException ex) {
Logger.getLogger(Resources.class.getName()).log(Level.SEVERE, "Sound could not be loaded: ", ex);
return UNLOADED_AUDIO2D;
}