[Openal-devel] Re: device enumeration
garinh at cheesetoast.net
Mon Aug 15 16:32:19 PDT 2005
> So 1.0 supports
> the extention, but that extention only exists for
> Windows, right? I think I'm probably best off
> targeting 1.1.
If the only feature in 1.1 that you care about is enumeration, then you
might as well target 1.0. The only difference in this case will be in
initialization -- for 1.0, you'll want to ask for the enumeration
extension and then make use of it if found. If the extension doesn't
exist (as will happen under Linux right now), then just open the default
(NULL) device and your app will still work.
> Is there anything I can do to get the Linux
> implementation of 1.1 working or at least the device
If you do things as described above (using 1.0), you can run on both
Windows and Linux right now, and automatically take advantage of
enumeration on Linux as soon as it is added.
More information about the Openal-devel