Displaying 1 result from an estimated 1 matches for "szerr".
Did you mean:
serr
2006 Jan 17
1
How to loop a Vobis sound ?
...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)
{
char szErr[512];
MakeErrorString (szErr, "", error);
throw string (szErr);
-------------> error here
}
}
I also tried the ov_XXX_lap functions, but the problem still remains.
thank you.
Steve
// ---------- Full source code -----------------
// ---------- OggStream.cpp...