diff options
author | Jean-Marc Valin <Jean-Marc.Valin@csiro.au> | 2008-06-03 11:27:05 +0400 |
---|---|---|
committer | Jean-Marc Valin <Jean-Marc.Valin@csiro.au> | 2008-06-03 11:27:05 +0400 |
commit | b2c35c162be84b81e5bc98696acaab56713c6727 (patch) | |
tree | 4c1f36338b67493c5c354b67db2fb29b09451533 | |
parent | 372ce2e6ca636276179446ca818c1a72cfcc718f (diff) |
Jitter buffer update
-rw-r--r-- | doc/manual.lyx | 6 | ||||
-rw-r--r-- | libspeex/jitter.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/manual.lyx b/doc/manual.lyx index f41feba..5e84b40 100644 --- a/doc/manual.lyx +++ b/doc/manual.lyx @@ -1,4 +1,4 @@ -#LyX 1.5.1 created this file. For more info see http://www.lyx.org/ +#LyX 1.5.3 created this file. For more info see http://www.lyx.org/ \lyxformat 276 \begin_document \begin_header @@ -1213,8 +1213,8 @@ CPU optimisation \end_layout \begin_layout Standard -The single that will affect the CPU usage of Speex the most is whether it - is compiled for floating point or fixed-point. +The single factor that will affect the CPU usage of Speex the most is whether + it is compiled for floating point or fixed-point. If your CPU/DSP does not have a floating-point unit FPU, then compiling as fixed-point will be orders of magnitudes faster. If there is an FPU present, then it is important to test which version diff --git a/libspeex/jitter.c b/libspeex/jitter.c index 0fe54fb..17bd044 100644 --- a/libspeex/jitter.c +++ b/libspeex/jitter.c @@ -75,9 +75,9 @@ TODO: #define ROUND_DOWN(x, step) ((x)<0 ? ((x)-(step)+1)/(step)*(step) : (x)/(step)*(step)) -#define MAX_TIMINGS 20 +#define MAX_TIMINGS 40 #define MAX_BUFFERS 3 -#define TOP_DELAY 20 +#define TOP_DELAY 40 /** Buffer that keeps the time of arrival of the latest packets */ struct TimingBuffer { @@ -250,7 +250,7 @@ static spx_int16_t compute_opt_delay(JitterBuffer *jitter) if (latest >= 0 && !penalty_taken) { penalty_taken = 1; - late+=2; + late+=4; } } |