optional dumping of LSPs and LPCs for error optimisation
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 26 Apr 2014 03:22:40 +0000 (03:22 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sat, 26 Apr 2014 03:22:40 +0000 (03:22 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@1574 01035d8c-6547-0410-b346-abe4f91aad63

codec2-dev/src/codec2.c

index 395d83d4fa165fa1e99ed15edcc6d20c0162f0bf..f3cc4098d85f895b317dcafce73ab59cc97559aa 100644 (file)
@@ -1108,6 +1108,10 @@ void codec2_decode_1300(struct CODEC2 *c2, short speech[], const unsigned char *
        apply_lpc_correction(&model[i]);
     }
     TIMER_SAMPLE_AND_LOG2(recover_start, "    recover"); 
+    #ifdef DUMP
+    dump_lsp_(&lsps[3][0]);
+    dump_ak_(&ak[3][0], LPC_ORD);
+    #endif
 
     /* synthesise ------------------------------------------------*/