AlxGetSource3f and alGetListener3f functions always fail
by Alec Ginsburg · in Technical Issues · 11/11/2008 (10:22 am) · 0 replies
Calls to these functions result in messages such as "cAudio_alxGetSource3f: invalid enum name '%s'" and the function always returns "0 0 0". This is due to an mis-specified parameter type - the code for these functions (in audioFunctions.cc) needs to change 'Float' to 'Float3' in these functions as follows:
ALenum e = getEnum(argv[2], (Source|Get|Float));
needs to change to:
ALenum e = getEnum(argv[2], (Source|Get|Float3));
ALenum e = getEnum(argv[2], (Source|Get|Float));
needs to change to:
ALenum e = getEnum(argv[2], (Source|Get|Float3));
About the author