search for: alsizei

Displaying 1 result from an estimated 1 matches for "alsizei".

Did you mean: glsizei
2006 Jan 17
1
How to loop a Vobis sound ?
...then when rewind to the initial position. then copy PCM to buffer, the OpenAL report an error. It seems like the OpenAL doesn't recognize the PCM data. The OpenAL error number : AL_INVALID_VALUE 0xA003 void Buffer::PCMData (ALuint id, ALenum eFormat, ALvoid *data, ALsizei size, ALsizei freq) { // Copy PCM data into ALBuffer // all variables id, eFomat and size, freq are correct. alBufferData (id, eFormat, data, size, freq); ALErrorCheck (); } void Buffer::ALErrorCheck () { int error = alGetError (); if (error != AL_NO_ERROR) {...