[Openal] alGenBuffers generates invalid values (PC only)

Jason Daly jdaly at ist.ucf.edu
Tue Aug 28 16:04:31 PDT 2007


griffin2000 wrote:
> Sorry typo.   Should have read " the actual alGenBuffers call does NOT cause
> an error".
> The alGenBuffers works fine, its only when I try use those values that I get
> the AL_INVALID_NAME.  It is definitely generating those values (they are all
> zero before the function is called).
>
> This is on windows XP.  Don't have the code in front of me right now, I post
> more info (OpenAL version, init code, etc) when I get home.
>
>   

The Windows implementation (I believe) uses pointer values as its buffer 
handles, so the values in your array could be reasonable.  They're 
contiguous and all spaced exactly 72 bytes apart, except for the very 
first one.

I'd look and make sure you're not trashing the first value of your 
buffer array somewhere.


-- 

--"J"

"I'm a castaway stranded in a desolate land,
 I can see the footprints in the virtual sand."
	--Neil Peart



More information about the Openal mailing list