Displaying 3 results from an estimated 3 matches for "skip_group_delay".
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 f...
2010 Jan 28
1
Trouble in decoding speex on PC
.....
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 attachment was scrubbed...
URL: http://lists.xiph....
2010 Jul 25
0
notification: More than two wideband layers found. The stream is corrupted.
...out_short);
if(returnVal != 0)
{
printf("speex decode int falied %d %d", returnVal,
counterDecode);
exit(0);
}
speex_bits_reset(&bits);
skip_group_delay = 0;
busyEncoding = 0;
//printf("encode-decode complete\n");
//copy decode data to playback through DMA
for(i_loop = 0; i_loop < FRAME_SIZE; i_loop++)
{
if(Cur...