From: FrancoisGrondin Date: Fri, 20 Oct 2017 18:02:17 +0000 (-0400) Subject: Bug fixed with the number of bits of the separated and postfiltered signals X-Git-Url: http://kyz.pub/gitweb/?a=commitdiff_plain;h=87db41abcd08fc3cea3f7aaf65bbba359a6f881f;p=yn%2Fyn-odas.git Bug fixed with the number of bits of the separated and postfiltered signals --- 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);