From: drowe67 Date: Wed, 15 Feb 2012 02:24:18 +0000 (+0000) Subject: removed some debug printfs X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=7b3dadc1f96d3e4f9c8250217a9264012c089620;p=freetel-svn-tracking.git removed some debug printfs git-svn-id: https://svn.code.sf.net/p/freetel/code@317 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/codec2-dev/src/c2sim.c b/codec2-dev/src/c2sim.c index 468189d0..d8def9b8 100644 --- a/codec2-dev/src/c2sim.c +++ b/codec2-dev/src/c2sim.c @@ -547,7 +547,7 @@ int main(int argc, char *argv[]) */ if ((frames%2) == 0) { - printf("frame: %d\n", frames); + //printf("frame: %d\n", frames); /* decode interpolated frame */ @@ -560,7 +560,7 @@ int main(int argc, char *argv[]) prev_lsps_, prev_e, lsps_, e, ak_interp, lsps_interp); apply_lpc_correction(&interp_model); - /* used to compare with c2enc/c2dec version */ + /* used to compare with c2enc/c2dec version printf(" Wo: %1.5f L: %d v1: %d prev_e: %f\n", interp_model.Wo, interp_model.L, interp_model.voiced, prev_e); @@ -580,7 +580,7 @@ int main(int argc, char *argv[]) for(i=0; i<10; i++) printf("%5.3f ",model.A[i]); printf("\n"); - + */ #ifdef DUMP /* do dumping here so we get lsp dump file in correct order */ diff --git a/codec2-dev/src/codec2.c b/codec2-dev/src/codec2.c index 91041420..bb01bd66 100644 --- a/codec2-dev/src/codec2.c +++ b/codec2-dev/src/codec2.c @@ -778,23 +778,23 @@ void codec2_encode_1200(struct CODEC2 *c2, unsigned char * bits, short speech[]) /* frame 1: - we just want voicing -------------------------------- */ - printf("frame: %d\n", ++frames); + //printf("frame: %d\n", ++frames); analyse_one_frame(c2, &model, speech); voiced1 = model.voiced; /* frame 2: - predictive VQ LSP and Wo ---------------------------- */ - printf("frame: %d\n", ++frames); + //printf("frame: %d\n", ++frames); analyse_one_frame(c2, &model, &speech[N]); voiced2 = model.voiced; Wo_index = encode_Wo(model.Wo); e = speech_to_uq_lsps(lsps, ak, c2->Sn, c2->w, LPC_ORD); - printf(" lsps........: "); - for(i=0; iprev_energy); @@ -938,7 +938,7 @@ void codec2_decode_1200(struct CODEC2 *c2, short speech[], const unsigned char * for(i=0; i<10; i++) printf("%5.3f ",model.A[i]); printf("\n"); - + */ /* synthesise frame 1 and frame 2 10ms frames */ @@ -989,7 +989,7 @@ void codec2_decode_1200(struct CODEC2 *c2, short speech[], const unsigned char * apply_lpc_correction(&model_interp); frames +=2; - /* used for comparing to c2sim version: */ + /* used for comparing to c2sim version: printf("frame: %d\n", frames); printf(" Wo: %1.5f L: %d v1: %d prev_e: %f\n", @@ -1010,6 +1010,7 @@ void codec2_decode_1200(struct CODEC2 *c2, short speech[], const unsigned char * for(i=0; i<10; i++) printf("%5.3f ",model.A[i]); printf("\n"); + */ /* synthesise frame 3 and frame 4 10ms frames */