« Return to Thread: Maximum Auxiliary Effect Slots

Re: Maximum Auxiliary Effect Slots

by Jason Daly :: Rate this Message:

Reply to Author | View in Thread

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
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.

--"J"
_______________________________________________
Openal-devel mailing list
Openal-devel@...
http://opensource.creative.com/mailman/listinfo/openal-devel

 « Return to Thread: Maximum Auxiliary Effect Slots