The meaning of "lookahead" value

Alexander Ivanenko <[email protected]>
Newsgroups gmane.comp.audio.compression.speex.devel
Message-ID <[email protected]>
Hello all,

Can you please explain what does "lookahead" value mean?
As I see in speexenc.c exactly FRAME_SIZE samples are given to the encoder every time  speex_encode_int being called.
Does the lookahead value of 8.9 ms (for wb) mean that 8.9ms of silence will be encoded in the first fream and its timestamp must be decreased by 8.9 ms? Or the first encoded  frame will be just shorter by 8.9 ms?

Thank you in advance!

Best Regards
Alexander Ivanenko

_______________________________________________
Speex-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/speex-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.