Jump to content
  • Advertisement
Sign in to follow this  
hotwheelharry

How are multiple OpenAL contexts handled (1 per process)?

This topic is 2264 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

Hello all, I have designed an OpenAL audio manager but have some questions about the details of OAL insides that change how I need to implement it.

Say there are 50 sources allowed in a context by checking MAX_SOURCES property. Now say I have 5 processes (not threads) that all check this number and try to create their own 50 sources. Does OpenAL allow the creation of 250 sources in total or does it just return error after the 50th source is created in total?

Another somewhat unrelated question, does the 3D spatialization calculation of each source happen in the audio hardware (if you have a sound card) or in software before the card processes the pcm audio data?

Finally, completely unrelated, Is there an API in windows to get the audio out of a single process before it's mixed with all the other system audio?

Any info appreciated.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!