FW: [Openal] alGenSources () problem - Number of sources can be generated?

Garin Hiebert garinh at cheesetoast.net
Mon Dec 4 09:08:49 PST 2006


> 1. OpenAL reports error after generating 14 sources, Is it a resonable
> number of max sources?
That's a strange result.  If I remember correctly, our wrapper code 
should bail on any DS3D driver which provides less than 16 hardware 
buffers and fall back to the software mixer, which provides 32 sources 
(if memory serves) as currently set up...

You will want to gracefully handle source-generation errors, though -- 
different implementations max out at different points.  You could wind 
up with anything between 16 and 2^32...
>    My game is client / server architecture. The strange thing is my game
> runs ok without network connection.
>    I link all libraries with multi-thread DLL.I wonder which type of OpenAL
> dll is? Would it be a problem while linking dlls?
>   
This probably points towards the real issue...  Dan should be in to work 
in a few minutes, and can probably comment on this issue -- I know he 
has some experience with stuff like this.

Garin



More information about the Openal mailing list