[Openal] OpenAL 1.1 (OS X) alGenBuffers problem

Garin Hiebert garinh at cheesetoast.net
Tue Dec 12 22:03:37 PST 2006


>  it seems that the first call I make to alGenBuffers(1, &buf) is 
> returning a value of 2401, whereas in 1.0.6 it used to return 1 as the 
> buffer number.

This may not result in a solution to the problem, but why does it matter 
to your app (or does it?) what value "buf" is being set to?  It's just a 
number, and your app shouldn't be dependent on buffer or source IDs 
being allocated in any particular way.  In other words, the ID 
allocation scheme for both buffers and sources is entirely arbitrary -- 
if the first buffer ID came back 16172, the second 4379, the third 8254, 
and any others also seemed "random" your app shouldn't care.

Garin




More information about the Openal mailing list