[Openal-devel] Doppler effect in recent OpenAL versions

Ed Phillips ed at udel.edu
Wed Sep 21 23:03:21 PDT 2005


Hi,

The doppler effect code as implemented in Win1-1-2_Spec1-0 (OpenAL32.DLL 
version 6.14.357.8) in Win/Alu/Alu.c, while it appears to follow the v1.1 
spec, produces a doppler effect which is not independent of listener 
orientation.

For our racing game (with plenty of pitch-setting and velocity-setting of 
sources and the listener, moving sources, moving listener), we basically 
had to retro-fit the doppler calculations from v1.1.1.1 of win/Alu/ALu.c 
into the v1.9 file, and use DopplerVelocity instead of the hard-coded 
343.0 constant in the pitch calculation.

Has anyone else encountered this?  I see some changes between the version 
we're using and HEAD, but I'm not having any luck getting HEAD to build 
with VC6 (a seemingly bogus complaint about ALvoid not being defined - 
anyone know how to fix this?)...

Thanks for your help!

 	Ed

Ed Phillips <ed at udel.edu> University of Delaware (302) 831-6082
Systems Programmer III, Network and Systems Services



More information about the Openal-devel mailing list