From: drowe67 Date: Tue, 21 Sep 2010 08:34:26 +0000 (+0000) Subject: fixed small bug with aks_to_M2() in c2sim.c X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=e6635a7a51f0531d14da7dfdfe7681503098ce9b;p=freetel-svn-tracking.git 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 --- 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);