Displaying 1 result from an estimated 1 matches for "outputoffset".
Did you mean:
output_offset
2004 Aug 06
3
Error in my code
...the following message is inappropriate for
this list. However, I feel this is the only place where I
can get some help with my problem.
BOOL CALLBACK RecordProc(HRECORD hRecord, void *buffer,
DWORD length, DWORD user)
{
try
{
long sent = 0;
long inputOffset = 0;
long outputOffset = 0;
long nbBytes = 0;
char *outputBuffer = NULL;
outputBuffer = (char*)malloc(65535);
memset(speexBuffer, 0, 65536);
while (inputOffset < length)
{
(float*)buffer = (float*)buffer + (frameSize);
speex_bits_reset(&bits);...