[Openal] Invalid Enum Value 4093

Garin Hiebert garinh at cheesetoast.net
Mon Oct 3 11:09:29 PDT 2005


> This seems like it should work but apparently it doesn't.

I'm not sure how you're getting an Invalid Enum error out of  
alDeleteBuffers (maybe it's left over from another call?), but to  
make sure alDeleteBuffers works in your cleanup code, make sure any  
sources that exist are stopped (alSourceStop) and don't have any  
pending buffers attached to them (alSourcei(sid, AL_BUFFER, 0)) -- if  
you do both of those, then as long as you pass in a valid array of  
buffer IDs, alDeleteBuffers should work.

Garin




More information about the Openal mailing list