[xiph-commits] r10104 - trunk/speex/libspeex

jm at svn.xiph.org jm at svn.xiph.org
Sat Oct 1 00:08:15 PDT 2005


Author: jm
Date: 2005-10-01 00:08:12 -0700 (Sat, 01 Oct 2005)
New Revision: 10104

Modified:
   trunk/speex/libspeex/jitter.c
Log:
timestamp is now in samples (was ms). Let's see how much hate mail I get over
that.


Modified: trunk/speex/libspeex/jitter.c
===================================================================
--- trunk/speex/libspeex/jitter.c	2005-10-01 05:18:06 UTC (rev 10103)
+++ trunk/speex/libspeex/jitter.c	2005-10-01 07:08:12 UTC (rev 10104)
@@ -59,7 +59,7 @@
 
    jitter->dec = decoder;
    speex_decoder_ctl(decoder, SPEEX_GET_FRAME_SIZE, &jitter->frame_size);
-   jitter->frame_time = 1000*jitter->frame_size / sampling_rate;
+   jitter->frame_time = jitter->frame_size;
 
    speex_bits_init(&jitter->current_packet);
    jitter->valid_bits = 0;



More information about the commits mailing list