Displaying 1 result from an estimated 1 matches for "g_arrbuff".
Did you mean:
g_arrbuffer
2006 Sep 08
2
problem with compression and decompression
...exDecompressState, &m_oDecompressBits, output);
/*Copy from float to short (16 bits) for output*/
for (i = 0; i < BUFFERSIZE; i++)
out[i] = output[i];
strcpy(pDecomData, out);
}
main.cpp
while (!_kbhit() )
{
if ( g_oCapture.CaptureSamples(g_ArrBuffer, (BUFFERSIZE /
g_sWaveHeader.wfex.nBlockAlign)
) )
{
int iFrameSize = 0;
char cComFrame[200];
ALchar ArrTemp[BUFFERSIZE];
g_oCapture.Compress(g_ArrBuffer, &iFrameSize, cComFrame
);
g_oCapture.Decompress(ArrT...