Re: Device enumeration and ALC_ENUMERATE_ALL_EXT

Chris Robinson <[email protected]>
Newsgroups gmane.comp.lib.openal
Message-ID <[email protected]>
On Monday, March 14, 2011 12:41:55 AM Ludwig Nussel wrote:
> Well, the goal is to compile against whatever openal implementation
> a distro has installed. Copying header files of system packages into
> your own sources is rather ugly.

In that case, the best option probably would be to just use alc.h/al.h, and 
not assume anything extension-related is defined, since not all 
implementations define extension-related types and values. You can define the 
types and values of the extenions you want to use in your code.

Just make sure to check for the two values Creative's headers define before 
defining them yourself, so you don't get redefinition warnings (I don't think 
it'll actually error, as long as it's being redefined to the same thing).
_______________________________________________
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.