Sign in to follow this  
Followers 0
hotwheelharry

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

0 posts in this topic

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.
0

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  
Followers 0