The problem now lies with the Loading of the soundfiles:
I´d like to use the Slick-Util-Library, due to its facility to load .ogg sound (wich is my preffered format). The other tutorial explains the technique to create 3D-Stereo-Soundeffects, but it only uses .wav-files.
Now I´m struggling to merge both lessons to be able to make this work:
The methods of the OpenAL-tutorial cannot be applied to data stored in the class org.newdawn.slick.openal.Audio, they require some sort of ByteBuffer (the tutorial uses a class called "WaveData"). So I am not able to load a .ogg-file and do 3D-Sound-effects and all that fancy stuff.
The question now is, how do I convert "Audio" to "WaveData" or simply how how can I make those methods work?