[Openal] alGenBuffers generates invalid values (PC only)

Jason Daly jdaly at ist.ucf.edu
Tue Aug 28 15:05:28 PDT 2007


griffin2000 wrote:
> I am looking at some openAL code that works on Mac, but fails on PC.  I have
> tracked down the code to this line that generates a set of buffers (16 of
> them currently, but I get the same problem regardless of the value of
> NUMBUFFERS).
>
> alGenBuffers(NUMBUFFERS, mBufferList);
>
> The handles generated are all invalid (and cause AL_INVALID_NAME errors
> whenever they are used).  Though the actual alGenBuffers call does cause an
> error.  This code works fine on Mac, any idea what the problem could be ?
>
> Here are the values generated:
>   
> ...
> Any idea what the problem could be ?
>   

Not without the rest of the code to look at :-)

Do you have a valid device opened and context created?
What hardware?
What OS?

-- 

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