[Openal] Invalid Enum Error getting the current buffer ID with Nvidia card (Windows)
garinh at cheesetoast.net
Tue Apr 12 10:49:22 PDT 2005
> So first, is this actually a legal operation that I'm doing?
It looks perfectly legal to me.
> And if
> so, what can I do to fix this problem?
It depends on what is acceptable to you and/or your customers. It
looks like a fix needs to go into the NVIDIA backend (assuming that's
what is being used here -- I think that's the case), and it needs to be
rolled into their driver release. If you need things to work in the
meantime or a driver update isn't acceptable to your customers, then
you'll need to do some work on the initialization -- find the name of
the device you open, and if it's NVIDIA then close it and open up the
DirectSound device instead. Enumeration can help you out in this
situation perhaps -- in that you could pick a sensible default for your
customer, but allow them to override if they know better...
More information about the Openal