Sign in to follow this  

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

This topic is 2016 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
Sign in to follow this