[Speex-dev] Output sampling rate slightly increased. Will speex complain?

marzullo maio marzullo63 at yahoo.it
Tue Jun 5 10:05:34 PDT 2007

I noticed my latency is gradually increasing in my audio loopback test application. I just hear what i say, encoding and decoding on the fly.
I suppose 8000 Hz for the output device is not 8000 Hz for the input one, they differs since they could refer to different time generators (i suppose...).

To solve the problem i rised the output sampling rate from 8000 to 8200 Hz, and now i'm not accumulating latency anymore. The quality remains practically the same. The input sampling rate is still 8000 Hz. That's it, i just need a faster consumer (audio output) than producer (audio input).

Actually i'm telling the encoder/decoder i'm sampling at 8000 Hz either for input and output. Should i tell speex i'm using this trick?

Please give me some suggestions, should the speex be involved in some way?
I'm not experiencing any noticeable difference through except the latency which is now constant.

Could be another solution to the latency rising issue?



L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070605/023cd696/attachment.html

More information about the Speex-dev mailing list