[xiph-cvs] cvs commit: speex/libspeex Makefile.am jitter.c
Jean-Marc Valin
jm at xiph.org
Mon Aug 4 10:28:56 PDT 2003
jm 03/08/04 13:28:56
Modified: libspeex Makefile.am jitter.c
Log:
removed debug stuff
Revision Changes Path
1.52 +5 -3 speex/libspeex/Makefile.am
Index: Makefile.am
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/Makefile.am,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- Makefile.am 13 May 2003 20:57:31 -0000 1.51
+++ Makefile.am 4 Aug 2003 17:28:56 -0000 1.52
@@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in. -*-Makefile-*-
-# $Id: Makefile.am,v 1.51 2003/05/13 20:57:31 jm Exp $
+# $Id: Makefile.am,v 1.52 2003/08/04 17:28:56 jm Exp $
# Disable automatic dependency tracking if using other tools than gcc and gmake
#AUTOMAKE_OPTIONS = no-dependencies
@@ -39,7 +39,8 @@
stereo.c \
denoise.c \
smallft.c \
- lbr_48k_tables.c
+ lbr_48k_tables.c \
+ jitter.c
include_HEADERS = speex.h \
@@ -47,7 +48,8 @@
speex_header.h \
speex_callbacks.h \
speex_stereo.h \
- speex_denoise.h
+ speex_denoise.h \
+ speex_jitter.h
noinst_HEADERS = lsp.h \
nb_celp.h \
<p><p>1.2 +0 -8 speex/libspeex/jitter.c
Index: jitter.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/jitter.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- jitter.c 4 Aug 2003 17:17:23 -0000 1.1
+++ jitter.c 4 Aug 2003 17:28:56 -0000 1.2
@@ -37,8 +37,6 @@
#include "speex_bits.h"
#include "speex_jitter.h"
-#include <stdio.h>
-
void speex_jitter_init(SpeexJitter *jitter, void *decoder, int sampling_rate)
{
int i;
@@ -73,7 +71,6 @@
{
int i,j;
- fprintf (stderr, "in\n");
/* Cleanup buffer (remove old packets that weren't played) */
for (i=0;i<SPEEX_JITTER_MAX_BUFFER_SIZE;i++)
{
@@ -130,7 +127,6 @@
/* Handle frame interpolation (receiving too fast) */
if (jitter->interp_frame)
{
- fprintf (stderr, "interp\n");
speex_decode(jitter->dec, NULL, out);
jitter->interp_frame = 0;
return;
@@ -154,15 +150,12 @@
return;
}
- fprintf (stderr, "%d ", jitter->pointer_timestamp);
/* Search the buffer for a packet with the right timestamp */
for (i=0;i<SPEEX_JITTER_MAX_BUFFER_SIZE;i++)
{
- fprintf (stderr, "%d ", jitter->timestamp[i]);
if (jitter->len[i]!=-1 && jitter->timestamp[i]==jitter->pointer_timestamp)
break;
}
- fprintf (stderr, "\n");
if (i==SPEEX_JITTER_MAX_BUFFER_SIZE)
{
@@ -179,7 +172,6 @@
/*Packet is late or lost*/
speex_decode(jitter->dec, NULL, out);
- fprintf (stderr, "lost packet\n");
} else {
/* Found the right packet */
speex_bits_read_from(&jitter->current_packet, jitter->buf[i], jitter->len[i]);
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list