[Openal] Spec typo?
Bernardo Escalona
escalonab at gmail.com
Thu Apr 28 11:22:23 PDT 2005
Hello list,
The spec uses this notation for setting attributes (in the listener,
for this case):
void alListener{n}{sifd}{v}(enum paramName, T values);
Where the {v} is in braces to mark it as optional. You would use it to
send a vector of values, like {1.0, 0.0, 0.5}, or you would omit it
for sending a single value such as 1.0. Am I understanding the
notation correctly?
If so, how come the notation for querying attributes (again, listener
attributes in this case) according to the spec is:
void alGetListener{sifd}v(enum param, T *values);
assuming we always want to query a vector of values? Isn't this also a
valid query:
alGetListenerf(AL_GAIN, &ret_value);
or
ret_value = alGetListener(AL_GAIN);
?
Btw, (OT) the 1.0 spec omits the 'al_' or 'AL_' prefixes in functions
and defines throughout the document, how come you decided against this
for 1.1? Just curious.
--
___________________________________________
Bernardo Escalona Espinosa
tel: 56 22 85 23
cel: 55 18 56 74 73
http://www.bernsonline.com/
More information about the Openal
mailing list