Jump to content
  • Advertisement
Sign in to follow this  
skow

Having more than 32 buffers in OpenAL?

This topic is 5041 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!