search for: __tempdata

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

2007 Oct 10
0
encode return 0
...ic byte[] ProcessData(byte[] ABuffer, int ADataSize) { int OutputDataSize; short[] TempData = new short[ADataSize]; for (int Index = ADataSize-1; Index >= 0; Index--) TempData[Index] = (short)((ABuffer[Index] << 8) ^ 0x8000); fixed (short* __TempData = &TempData[0]) { fixed (void* __Bits = &_Bits) { if (speex_encode_int(_State, __TempData, __Bits) == 1) { fixed (void* __Buffer = _Buffer) OutputDataSize = speex_bits_write(__Bits, __Buffer, _Buffer.Length);...