Sign in to follow this  
skow

Having more than 32 buffers in OpenAL?

Recommended Posts

skow    248
I'm using OpenAl for a game I'm working on. Currently openAl has a limit of only 32 buffers than can be generated. I would like the pool of preloaded sounds to be more than 32, how can I go about doing this? Obviously I won't be playing more than a few sounds at a time, so they don't all have to be an active buffer, I would just like a way to have the data already in memory. Thanks for any help.

Share this post


Link to post
Share on other sites
paradoxnj    208
Simple. Load the sounds and store the sound data in memory. Don't gen the buffers until you are ready to use them. A more advanced way is to make a background loading thread and load the sounds as you need them.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this