search for: weeeeelll

Displaying 2 results from an estimated 2 matches for "weeeeelll".

2005 Sep 18
3
How does the jitter buffer "catch up"?
> Err, unless I'm totally wrong, there are a few race conditions. > > Assume the buffer is full of packets newer than the current pointer, and > one that is at the current pointer. > > get and put start at the same time. > > get will find the correct buffer index. Now, just after it finds it's > index, assume we switch to the put thread. > > Put needs
2005 Sep 18
0
How does the jitter buffer "catch up"?
...> True. It was originally race-safe when I was discarding the incoming > packet in case of buffer full. I changed that behaviour exactly because > of burst issues and the like. Other than that, I don't think there > should be any other possible race (assuming CPU cache coherence). Weeeeelll.. Actually, now that you mention it, the histogram shifting is a race as well. In _put, the lines jitter->shortterm_margin[i] *= .98; jitter->longterm_margin[i] *= .995; jitter->shortterm_margin[int_margin] += .02; jitter->longterm_margin[int_m...