From e6635a7a51f0531d14da7dfdfe7681503098ce9b Mon Sep 17 00:00:00 2001 From: drowe67 Date: Tue, 21 Sep 2010 08:34:26 +0000 Subject: [PATCH] fixed small bug with aks_to_M2() in c2sim.c git-svn-id: https://svn.code.sf.net/p/freetel/code@193 01035d8c-6547-0410-b346-abe4f91aad63 --- codec2/src/c2sim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codec2/src/c2sim.c b/codec2/src/c2sim.c index 68aa18f1..b9e5f0f7 100644 --- a/codec2/src/c2sim.c +++ b/codec2/src/c2sim.c @@ -306,7 +306,7 @@ int main(int argc, char *argv[]) e = decode_energy(encode_energy(e)); model.Wo = decode_Wo(encode_Wo(model.Wo)); - aks_to_M2(ak, order, &model, e, &snr); + aks_to_M2(ak, order, &model, e, &snr, 1); apply_lpc_correction(&model, lpc_correction); sum_snr += snr; dump_quantised_model(&model); -- 2.25.1