Displaying 2 results from an estimated 2 matches for "alenum".
Did you mean:
glenum
2006 Jan 17
1
How to loop a Vobis sound ?
...correctly for the first time, 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 (e...
2007 May 25
0
[LLVMdev] Linking two external linkage GlobalValues
...lse if (Dest->hasExternalLinkage() && Src->hasExternalLinkage()){
LinkFromSrc = true;//overwrite old value
LT = Src->getLinkage();//use src linkage
The reason is that two files both had a global function pointer
variable (due to #include's):
void ( *alEnable)( ALenum capability );
which got translated to:
@alEnable = globale void (i32)* null
Linking these resulted in an error (lib/Linker/LinkModules.cpp's
original catch-all on line 427), but our hack prevents this.
My question: does this change break certain design decisions,
optimisations, ...?
BT...