search for: outputdatasize

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

2007 Oct 10
0
encode return 0
...speex_encoder_ctl(_State, 16 /*SPEEX_SET_COMPLEXITY*/, __Complexity); speex_encoder_ctl(_State, 24 /*SPEEX_SET_SAMPLING_RATE*/, __SamplingRate); } _Bits = new SpeexBits(); //Data encoding public 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)...