This is my first projekt with openAl ever so I just orientated on the tutorials postet on https://joal-demos.dev.java.net/
. I wrote a SoundEngine wich uses a PropertyFile to read Path-Information to fill the buffers in a for-loop. This method looks similar to the one from lesson1 in the tutorial. To play the Sounds, I have two methods, one which just plays the Sound (Lesson1), and one which uses this "Sources Sharing Buffers" (Lesson5)... this all works, but: If I have more than 16Files to load, the programm starts with no exceptions and other abnormaltiys, but in most cases I hear no Sound! It happens that its playing 16 Sounds each sized 10MB but refuses playing 17 Sounds sized 1MB.
Does anyone know how to avoid this problem or what I am doing wrong? Is there maybe a way to create just 16 Buffers an switch the sounds in case of use? This leads to my next question: How much Data can JOAL handle.. at this time at starttime I have to load 80MB of Wave-Data.. Is it neccessary to have a strategy like this and does anyone know some examples?
I am happy for every attemp of helping!