OpenAL - determine maximum sources
- by Bill Kotsias
Is there an API that allows you to define the maximum number of OpenAL "sources" allowed by the underlying sound hardware?
Searching the internet, I found 2 recommendations :
keep generating OpenAL sources till you get an error. However, there is a note in FreeSL (OpenAL wrapper) stating that this is "very bad and may even crash the library"
assume you only have 16; why would anyone ever require more? (!)
The second recommendation is even adopted by FreeSL.
So, is there a common API to define the number of simultaneous "voices" supported?
Thank you for your time,
Bill