[Openal-devel] alDopplerVelocity and AL_DOPPLER_VELOCITY in 1 .1

Erik Hofman erik at ehofman.com
Thu Nov 17 00:49:47 PST 2005


Stephen J Baker wrote:
> "Deprecated" means something like "Don't use this in new software even
> though it still works".
> 
> "Obsoleted" means "It doesn't work anymore, you can't use it".
> 
> The flag needs to be in the header because AL_DOPPLER_VELOCITY is only
> deprecated - it is not obsolete yet.  Existing programs can still
> use AL_DOPPLER_VELOCITY.
> 
> For libraries such as OpenAL, it would be extremely rude to our users
> to have something work in one release and be obsoleted in the next.
> We need to go at least a few years with it merely deprecated to give
> existing applications a chance to either get updated or fall from usage.

In fact, OpenAL 1.1 is supposed to be 1.0 compatible ... which means it 
*must* be available. My fix was to surround the code by:

#if AL_VERSION_1_0
  ...
#endif

Erik





More information about the Openal-devel mailing list