[Openal-devel] Maximum Auxiliary Effect Slots

Jason Daly jdaly at ist.ucf.edu
Tue Jun 23 22:29:59 PDT 2009


Richard Rosario wrote:
>
> Greetings to you,
>                           In my OpenAL implementation when I try to 
> create Auxiliary Effect Slots only two are getting created and the 
> third one fails returning error.
>
> Is there any maximum limit to the number of Auxiliary Effect Slots.

Yes there is.


> If that is so how do I get the maximum count.

alcGetIntegerv(contextID, ALC_MAX_AUXILIARY_SENDS, &max);

(call this after creating your context)


>
> Is the count based on per source basis or maximum for a device?

It's a context property, but the value you get is a per-source maximum.

Look at the Effects Extension Guide in Creative's OpenAL SDK for better 
descriptions and some sample code.

--"J"



More information about the Openal-devel mailing list