Poll
Question:
Why can I only load 16 Sounds via OpenAL ?
Option 1: Soundcard problem
votes: 0
Option 2: OpenAL Bug
votes: 0
Option 3: Program-Error
votes: 1
Hello, I have a problem with OpenAL ore probably with my Soundcard drivers... If I run my program, I'm can only load 16 Sounds, if I want to load more than 16, I have to use the default Java Sound API. Does anyone know, what to do? My Soundcard is very old(5 years), is this the reason for my problem? I use a Demo code to play my Sounds...
Mfg zero5
you are limited by the number of channels your sound card has.
newer cards usually have 32 or 64 channels
The idea isn't to keep the same sounds in each channel. You'll want to write a manager to control which sounds are playing in which channel as you need them. You typically store the sounds in buffers.
I've found out by testing various size of buffers and sources with openAL for LWJGL and it "sounds" out that the buffer limit is about 200 buffers and sources. (i.e. AL10.alGenBuffers(IntBuffer.allocate(200)))