[Openal] alcCloseDevice
Jason Daly
jdaly at ist.ucf.edu
Thu Dec 6 14:15:42 PST 2007
Quattro IV wrote:
> Hi, I think I discovered a bug in either the documentation or the code
> not sure which. The documentation for the alcCloseDevice function says
> "ALC_TRUE will be returned on success or ALC_FALSE on failure.
> *Closing a device will fail if the device contains any contexts or
> buffers. *", however, I noticed that you can actually call this
> function without destroying the context and it doesn't fail. Is this
> behavior as designed or is the documentation incorrect? Thanks.
It's more likely that the documentation is correct and the
implementation is wrong. This is one of those subtle things that
probably wasn't tested very well. Which implementation/platform are you
using?
--
--"J"
"I'm a castaway stranded in a desolate land,
I can see the footprints in the virtual sand."
--Neil Peart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20071206/72840a2e/attachment.html
More information about the Openal
mailing list