[Openal] Device enumeration and ALC_ENUMERATE_ALL_EXT
Edward Rudd
urkle at outoforder.cc
Mon Mar 14 08:02:51 PDT 2011
On Mar 14, 2011, at 10:50 , Chris Robinson wrote:
> If that's the case, I could be convinced to copy that extension's definitions
> to alc.h. But you still might have a problem with OSX's alc.h, which I don't
> think has the ALC_ENUMERATE_ALL_EXT values.
Just checked my OSX OpenAL header setup..
ALC_ENUMERATE_ALL_EXT is define in alc.h.
However, OSX has those in <OpenAL/alc.h> instead of <AL/alc.h> as it is on other systems.. so you still end up doing this.
#ifdef __APPLE__
#include <OpenAL/al.h>
#include <OpenAL/alc.h>
#else
#include <AL/al.h>
#include <AL/alc.h>
#ifndef ALC_ENUMERATE_ALL_EXT
#include <AL/alext.h>
#endif
#endif
Edward Rudd
OutOfOrder.cc
> A: Because it messes up the order in which people normally read text.
>> Q: Why is top-posting such a bad thing?
>>> A: Top-posting.
>>>> Q: What is the most annoying thing in e-mail?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20110314/5275c58b/attachment.html
More information about the Openal
mailing list