[Openal] latency

Jarryd Beck jarro.2783 at gmail.com
Sat Feb 21 04:27:06 PST 2009


On Sat, Feb 21, 2009 at 3:49 PM, Chris Robinson <chris.kcat at gmail.com>wrote:

> On Friday 20 February 2009 11:58:12 am angelo wrote:
> > If i start receiving from the PC, sometime there is an initial latency
> > of 2/300 msec, some other of more than 1 second.
> > Then, if i let the PC receiving, after some minutes the latency grow to
> > 4, 5 seconds and more.
>
> Hi.
>
> Do you create a new buffer every time you receive enough data, or do you
> reuse
> old ones? If I had to guess, I would say it's because you're receiving (the
> other system is generating) data at a slightly faster rate than it's being
> played. This would be typical timer drift.


Is it possible to send messages back to the sender to say that you don't
want any more data for a while? You could have some sort of "ideal buffer
window", you could have say 50 buffers available, and the ideal is between
20 and 30, if it drops above or below you tell the sender to either slow
down or speed up respectively.

Jarryd.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20090221/b5fbc1ee/attachment.html


More information about the Openal mailing list