Displaying 3 results from an estimated 3 matches for "out_short".
2010 Jul 25
0
notification: More than two wideband layers found. The stream is corrupted.
...rewind(&bits);
speex_bits_read_from(&bits, cbits,
TESTENC_BYTES_PER_FRAME);
* //printf("%d\n",counterDecode++);
counterDecode++; *
returnVal = speex_decode_int(decoderState, &bits,
(spx_int16_t *)out_short);
if(returnVal != 0)
{
printf("speex decode int falied %d %d", returnVal,
counterDecode);
exit(0);
}
speex_bits_reset(&bits);
skip_grou...
2010 Jan 28
1
Trouble in decoding speex on PC
...time.. Any help will be appreciated..
while (!feof(fin))
?? {
??? ? fread(tempd, 1, 26, fin);
????? if (feof(fin))
???????? break;
????? speex_bits_reset(&bits);
??? ?speex_bits_read_from(&bits, tempd, 26);??? ?
????? speex_bits_rewind(&bits);
????? speex_decode_int(dec, &bits, out_short);
fwrite(&out_short[skip_group_delay], sizeof(short), FRAME_SIZE-skip_group_delay, fout);
????? skip_group_delay = 0;
Regards,
Kumar
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
-------------- next part --------------
An HTML attachme...
2010 Aug 13
0
Purpose of skip_group_delay variable in testen.c
Hi,
Being relatively new to speex code I have a question regarding the use (and
necessity) of the variable skip_group_delay
found in the testen.c file, namely in writing to fout :
fwrite(&out_short[skip_group_delay], sizeof(short),
FRAME_SIZE-skip_group_delay, fout);
the variable skip_group_delay is effectively used once then set to zero for
all subsequent uses. What is its purpose other than shortening
the first output frame by skip_group_delay, and is this once off
calculation necessary ?...