logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: Version queries: msg#00205

Subject: Re: Version queries
[...] I propose the following:

* Specify exactly what AL_VERSION should mean (including its syntax) and keep that query in the spec. To keep OpenGL's spirit it should really
     denote the OpenAL spec version, not the version of implementation.
     The latter can be queried by AL_RENDERER/AL_VENDOR (see OpenGL).

* Add AL_MAJOR_VERSION and AL_MINOR_VERSION integer queries, which again
     denote the OpenAL spec version. This duplicates functionality, but
     might be a little bit easier to use (although I seriously doubt that
     parsing a string with a primitive syntax would pose any problems to
people writing networked 3D games using more than 3GB on my hard disk... :-).

   * Deprecate ALC_MAJOR_VERSION and ALC_MINOR_VERSION.

Any opinions here? It is a quite defensive change, but I fear it might get lost
in what will be know as the "Unit Wars" to our grandchildren...

Cheers,
    S.

Seems fine to me. Note that the GL_VERSION string does include implementation version info though. I'd be happiest if we matched the GL spec for it. I can see a desire for the integer queries too though, if only to help people avoid bad code (even though they should read the spec properly :-p).

The ALC tokens though might still be useful. Can we query a device's version number without having to make a context? The type of alcGetIntegerv implies so. In which case the ALC tokens would be handy during device enumeration.

Andrew


<Prev in Thread] Current Thread [Next in Thread>