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

Started by
-1 comments, last by hotwheelharry 11 years, 9 months ago
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.

This topic is closed to new replies.

Advertisement