From 87db41abcd08fc3cea3f7aaf65bbba359a6f881f Mon Sep 17 00:00:00 2001 From: FrancoisGrondin Date: Fri, 20 Oct 2017 14:02:17 -0400 Subject: [PATCH] Bug fixed with the number of bits of the separated and postfiltered signals --- demo/parameters.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/parameters.c b/demo/parameters.c index 627bb59..7579595 100644 --- a/demo/parameters.c +++ b/demo/parameters.c @@ -1367,7 +1367,7 @@ // | Format | // +----------------------------------------------------------+ - tmpInt1 = parameters_lookup_int(fileConfig, "raw.nBits"); + tmpInt1 = parameters_lookup_int(fileConfig, "sss.separated.nBits"); if ((tmpInt1 == 8) || (tmpInt1 == 16) || (tmpInt1 == 24) || (tmpInt1 == 32)) { cfg->format = format_construct_binary_int(tmpInt1); @@ -1441,7 +1441,7 @@ // | Format | // +----------------------------------------------------------+ - tmpInt1 = parameters_lookup_int(fileConfig, "raw.nBits"); + tmpInt1 = parameters_lookup_int(fileConfig, "sss.postfiltered.nBits"); if ((tmpInt1 == 8) || (tmpInt1 == 16) || (tmpInt1 == 24) || (tmpInt1 == 32)) { cfg->format = format_construct_binary_int(tmpInt1); -- 2.34.1