Displaying 1 result from an estimated 1 matches for "cojon".
Did you mean:
colon
2011 Jul 15
3
ov_read error on macosx
...signed long ulSamples;
short *pSamples;
unsigned long ulBytesDone = 0;
while (true)
{
#ifdef WIN32
lDecodeSize = ov_read(psOggVorbisFile, pDecodeBuffer + ulBytesDone,
ulBufferSize - ulBytesDone, 0, 2, 1, ¤t_section);
#elif MACOSX // El cuarto parametro es lo del big endian de los cojones
lDecodeSize = ov_read(psOggVorbisFile, pDecodeBuffer + ulBytesDone,
ulBufferSize - ulBytesDone, 1, 2, 1, ¤t_section);
#endif
if (lDecodeSize > 0)
{
ulBytesDone += lDecodeSize;
if (ulBytesDone >= ulBufferSize)
break;
}
else
{
break;
}
}
return ulBytesDone;...