Created attachment 2632[details]
If using system OpenAL, include alext.h for ALC_ALL_DEVICES_SPECIFIER
This assumes OpenAL Soft, which more or less supersedes Creative's OpenAL,
as far as I understand it.
(It's what produces libopenal1 in Debian, at least...)
It might also be advantageous to make the same change to the Windows equivalent (about 3 lines up), but I left that alone since I don't know what the favoured OpenAL implementation is on Windows.
The original OpenAL on Unix is the "Sample Implementation" from Creative, but it seems all the major distributions probably use OpenAL-Soft instead these days (details below).
One thing I'm not so sure about is whether Mac OS X has alext.h; if it doesn't, it might need to be conditionalized, if people use the system OpenAL on Mac. (Do they?)
* Debian gained OpenAL-Soft in June 2008 and lost the Sample Implementation
in August 2008, according to http://packages.qa.debian.org/o/openal.html
and http://packages.qa.debian.org/o/openal-soft.html; Ubuntu's package
is identical
* Fedora removed the Sample Implementation in favour of OpenAL-Soft in
2009, according to http://pkgs.fedoraproject.org/gitweb/?p=openal.git
* Gentoo switched in 2008, according to
http://gentoo-portage.com/media-libs/openal/ChangeLog
* Mandriva, OpenSUSE and Arch seem to have OpenAL-Soft in recent
releases, according to http://pkgs.org/package/openal
This will throw a compiler error on the official OpenAL-SDK which does not have an alext.h, but where the needed macro is defined in alc.h
I am inquiring on OpenAL-dev right how to solve this puzzle.
If they don't come up with a satisfactory answer I'll get rid of the alext.h dependency and define the macro myself.
(In reply to comment #3)
> This will throw a compiler error on the official OpenAL-SDK which does not have
> an alext.h, but where the needed macro is defined in alc.h
> I am inquiring on OpenAL-dev right how to solve this puzzle.
> If they don't come up with a satisfactory answer I'll get rid of the alext.h
> dependency and define the macro myself.
fixed in r1930
Created attachment 2632 [details] If using system OpenAL, include alext.h for ALC_ALL_DEVICES_SPECIFIER This assumes OpenAL Soft, which more or less supersedes Creative's OpenAL, as far as I understand it. (It's what produces libopenal1 in Debian, at least...)