[openal] distance model questions
chris.kcat at gmail.com
Thu May 28 06:18:08 EDT 2015
On 05/28/2015 02:50 AM, Victorious wrote:
> That worked like a charm, thanks.
> If the gain is set to 0, it is completely muted. Is the source still
> considered playing?
Yes. Certain steps may be skipped in the mixing pipeline for such
sources, but as far as the app sees it plays normally (its offset will
continue to increment, buffers will become processed, etc).
> On a related question, what is the maximum number of sounds that can
> be played on windows 8.1?
OpenAL Soft has a practical limit of 256 simultaneous sources (the same
maximum that can be allocated). It's all done in software, so the OS
doesn't affect it.
Other implementations may have their own limits based on whatever
criteria it uses. You can query this limit calling alcGetIntegerv with
ALC_MONO_SOURCES and ALC_STEREO_SOURCES (you're guaranteed to be able to
play the given number of mono sources and stereo sources simultaneously).
More information about the openal