[Openal-devel] Maximum Auxiliary Effect Slots

Chris Robinson chris.kcat at gmail.com
Tue Jun 23 22:55:18 PDT 2009


On Tuesday 23 June 2009 10:33:06 pm Jason Daly wrote:
> Sorry, that should be:
>
> alcGetIntegerv(device, ALC_MAX_AUXILIARY_SENDS, 1, &max);
>
> Note the extra parameter, and that you pass the device handle, not the
> context ID.
>
> Also, you can pass ALC_MAX_AUXILIARY_SENDS and a value as context
> creation parameters to request a given maximum.  You still have to query
> to see how many you actually get, though.

That's actually for the number of sends, which is separate from the number of 
slots. The number of sends is how many effects a source can have applied, and 
the slots is the number of different simultaneous effects. For example, you 
can have two distinct reverbs (2 slots), but a given source may only be able 
to use one of them (1 send) while another source can use the other.


More information about the Openal-devel mailing list