search for: ontime_ratio_short

Displaying 7 results from an estimated 7 matches for "ontime_ratio_short".

2007 Mar 08
4
Introduction and patch
Hi, I'm one of the people working on the Rockbox project (http://www.rockbox.org) which is an open source alternative firmware for a range Digital Audio Players. Recently we integrated support for the Speex codec using libspeex and seems to work well. If you could add Rockbox to your list of software that supports Speex, that'd be great. So that's the introduction done. Now for
2005 Sep 18
3
How does the jitter buffer "catch up"?
Is is possible to give a short hint about how the jitter buffer would "catch up" when network condition have been bad and then get better? I'm using the jitter buffer with success now, but sometimes I have a long delay that's caused by bad network conditions and then later when the conditions get better, I would think we would want the audio to gradually catch up with real-time
2005 Sep 18
2
How does the jitter buffer "catch up"?
...e code to drop frames in silence or low-energy periods. > To achieve the effect you're describing, you'd need to increase > SPEEX_JITTER_MAX_BUFFER_SIZE to the longest delay you're expecting, and > then inside the block on line 231 (which says) > if (late_ratio_short + ontime_ratio_short < .005 && late_ratio_long + > ontime_ratio_long < .01 && early_ratio_short > .8) > .. add something that multiplies all the magins with 0.75 or so at the > end. This will force the jitter buffer to only skip 1 frame at a time and > wait a bit before it skips...
2007 Mar 08
0
Introduction and patch
...me to adjust the buffering delay to the network conditions */ > int jitter_buffer_update_delay(JitterBuffer *jitter, JitterBufferPacket *packet, spx_uint32_t *start_offset) > { > - int i, j; > + int i; > float late_ratio_short; > float late_ratio_long; > float ontime_ratio_short; > diff -bu ../../../speex/libspeex/kiss_fft.c libspeex/kiss_fft.c > --- ../../../speex/libspeex/kiss_fft.c 2007-02-09 20:12:29.000000000 +1000 > +++ libspeex/kiss_fft.c 2007-03-08 20:33:21.000000000 +1000 > @@ -85,7 +85,7 @@ > tw3 = tw2 = tw1 = st->twiddles; > >...
2005 Sep 18
0
How does the jitter buffer "catch up"?
...um whatever the circumstances, so most of the late frames will be dropped. To achieve the effect you're describing, you'd need to increase SPEEX_JITTER_MAX_BUFFER_SIZE to the longest delay you're expecting, and then inside the block on line 231 (which says) if (late_ratio_short + ontime_ratio_short < .005 && late_ratio_long + ontime_ratio_long < .01 && early_ratio_short > .8) .. add something that multiplies all the magins with 0.75 or so at the end. This will force the jitter buffer to only skip 1 frame at a time and wait a bit before it skips the next one.
2005 Sep 18
0
How does the jitter buffer "catch up"?
...ibspeex.dll/.so with other applications. >> To achieve the effect you're describing, you'd need to increase >> SPEEX_JITTER_MAX_BUFFER_SIZE to the longest delay you're expecting, and >> then inside the block on line 231 (which says) >> if (late_ratio_short + ontime_ratio_short < .005 && late_ratio_long + >> ontime_ratio_long < .01 && early_ratio_short > .8) >> .. add something that multiplies all the magins with 0.75 or so at the >> end. This will force the jitter buffer to only skip 1 frame at a time and >> wait a bit bef...
2005 Sep 18
2
How does the jitter buffer "catch up"?
...so most of the > late frames will be dropped. > > To achieve the effect you're describing, you'd need to > increase SPEEX_JITTER_MAX_BUFFER_SIZE to the longest delay > you're expecting, and then inside the block on line 231 (which says) > if (late_ratio_short + ontime_ratio_short < .005 && > late_ratio_long + ontime_ratio_long < .01 && > early_ratio_short > .8) .. add something that multiplies all > the magins with 0.75 or so at the end. This will force the > jitter buffer to only skip 1 frame at a time and wait a bit > before it...