I am having great difficulties getting a sound to load. I initialized OpenAL, and then I attempted to load them like this:
fin = new FileInputStream("data/sounds/blam.wav");
System.out.println("Error trying to load sound data/sounds/blam.wav: Could load the sound file!");
WaveData waveFile = WaveData.create(new BufferedInputStream(fin));
It finds the file, but WaveData.create always returns null.
What am I doing wrong here?