[xiph-commits] r12664 - trunk/speex/libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Tue Mar 6 05:43:16 PST 2007
Author: jm
Date: 2007-03-06 05:43:14 -0800 (Tue, 06 Mar 2007)
New Revision: 12664
Modified:
trunk/speex/libspeex/jitter.c
Log:
second attempt...
Modified: trunk/speex/libspeex/jitter.c
===================================================================
--- trunk/speex/libspeex/jitter.c 2007-03-06 13:35:29 UTC (rev 12663)
+++ trunk/speex/libspeex/jitter.c 2007-03-06 13:43:14 UTC (rev 12664)
@@ -432,8 +432,6 @@
float ontime_ratio_long;
float early_ratio_short;
float early_ratio_long;
- int chunk_size;
- int incomplete = 0;
if (LT32(jitter->current_timestamp+jitter->tick_size, jitter->pointer_timestamp))
{
@@ -475,8 +473,8 @@
}
jitter->shortterm_margin[0] = 0;
jitter->longterm_margin[0] = 0;
- /*jitter->pointer_timestamp -= jitter->tick_size;
- jitter->current_timestamp -= jitter->tick_size;*/
+ /*jitter->pointer_timestamp -= jitter->tick_size;*/
+ jitter->current_timestamp -= jitter->tick_size;
return JITTER_BUFFER_ADJUST_INTERPOLATE;
@@ -494,8 +492,8 @@
jitter->longterm_margin[MAX_MARGIN-1] = 0;
/*fprintf (stderr, "drop frame\n");*/
/*fprintf (stderr, "d");*/
- /*jitter->pointer_timestamp += jitter->tick_size;
- jitter->current_timestamp += jitter->tick_size;*/
+ /*jitter->pointer_timestamp += jitter->tick_size;*/
+ jitter->current_timestamp += jitter->tick_size;
return JITTER_BUFFER_ADJUST_DROP;
}
More information about the commits
mailing list