[Openal-devel] alBufferData header/spec disconnect
garinh at cheesetoast.net
Thu Nov 10 10:31:47 PST 2005
Just got a note regarding a header/spec disconnect to be resolved...
The spec has the following prototype for alBufferData:
void alBufferData (ALuint bufferName, ALenum format, const ALvoid
*data, ALsizei size, ALuint frequency);
The header is:
AL_API void AL_APIENTRY alBufferData( ALuint bid, ALenum format,
const ALvoid* data, ALsizei size, ALsizei freq );
Note the different types for the frequency parameter.
I think changing the header to match the spec will be harmless, as
ALsizei maps to an "int" and ALuint is of course "unsigned int." The
spec seems to be the one to follow in this case -- an unsigned int
makes sense for frequency.
More information about the Openal-devel