[Openal-devel] Maximum Auxiliary Effect Slots
jdaly at ist.ucf.edu
Tue Jun 23 22:33:06 PDT 2009
Jason Daly wrote:
>> If that is so how do I get the maximum count.
> alcGetIntegerv(contextID, ALC_MAX_AUXILIARY_SENDS, &max);
> (call this after creating your context)
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
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.
More information about the Openal-devel