[Openal] simultaneous source limit on osx

Sven Panne Sven.Panne at aedion.de
Fri Oct 14 08:28:57 PDT 2005


Am Donnerstag, 13. Oktober 2005 22:05 schrieb Bob Aron:
> The default behavior of the OSX implementation is to limit the
> sources to 64. I you need more, there is an ALC_MIXER_MAXIMUM_BUSSES
> attribute defined in the headers (alctypes.h)  that you can set
> BEFORE opening your oal device. Use the alSetInteger() API and pass
> in your desired source count. [...]

Hmmm, this kind of API looks a bit arcane: Using an *ALC* token in an *AL* 
call sounds horribly wrong. But what's concerning me more is that the code in 
CVS HEAD tells me something different: alSetInteger/Double change properties 
of the device of the current context, so you would have to create a device 
and a context first. And then you could have used special tokens in the 
attribute list passed to alcCreateContext instead of creating additional API 
entries...

Slightly confused,
   S.



More information about the Openal mailing list