[Openal-devel] Concerning alcGetError in the SI
chris.kcat at gmail.com
Wed May 9 23:24:57 PDT 2007
According to the specs for alcGetError:
"Error conditions are specific to the device, and (like AL) a call to
alcGetError resets the error state."
I'm currently writing a patch to make ALC errors device-specific, instead of
global as they are now. My question is, what should I do for errors where
there's no (valid) device? Should there be a global "no-device" device (like
how it's done now, but just for errors generated with/from no device)? The
specs don't say that alcGetError(NULL); is invalid, however tracking errors
that way would prove to be problematic. Or should errors with no discernable
device be ignored?
More information about the Openal-devel