[Openal] GetMaxSources

Garin Hiebert garinh at turkeytrot.dhs.org
Sun Nov 2 19:31:28 PST 2003


> I agree, there should be some way to get the max number of sources easily,
> specially since its right in ALCdevice::MaxNoOfSources.
> 
> I suggest making an define like ALC_MAX_SOURCES that works with
> alcGetIntegerv() to do the job. Damn, I might as well just do that right
> now.

This is something that needs to be addressed in the next major rev of
OpenAL.  It seems like a simple issue, and for the most part it can be
treated as such.  The problem is that there are cases where it would be
nice if the number of sources were allowed to vary depending on the
state of the audio system.  For instance, you might have fewer total
voices if you were using EAX effects on all of them than if you were not
doing any effects...  That was the original idea at least...


Garin




More information about the Openal mailing list