[Speex-dev] Purpose of skip_group_delay variable in testen.c

Body Sens mbodsns at gmail.com
Fri Aug 13 02:08:57 PDT 2010


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 ? This seems to be a predicted value from what I can
tell.

Regards, Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20100813/66f164e4/attachment.htm 


More information about the Speex-dev mailing list