Re: Device enumeration and ALC_ENUMERATE_ALL_EXT

Edward Rudd <[email protected]>
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
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?

_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.