From c5ec4d5dc4809957c0e436f4055a3f3bfe179614 Mon Sep 17 00:00:00 2001 From: drowe67 Date: Sat, 26 Apr 2014 03:22:40 +0000 Subject: [PATCH] optional dumping of LSPs and LPCs for error optimisation git-svn-id: https://svn.code.sf.net/p/freetel/code@1574 01035d8c-6547-0410-b346-abe4f91aad63 --- codec2-dev/src/codec2.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/codec2-dev/src/codec2.c b/codec2-dev/src/codec2.c index 395d83d4..f3cc4098 100644 --- a/codec2-dev/src/codec2.c +++ b/codec2-dev/src/codec2.c @@ -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 ------------------------------------------------*/ -- 2.25.1