Bug fixed with the number of bits of the separated and postfiltered signals
authorFrancoisGrondin <francois.grondin2@usherbrooke.ca>
Fri, 20 Oct 2017 18:02:17 +0000 (14:02 -0400)
committerFrancoisGrondin <francois.grondin2@usherbrooke.ca>
Fri, 20 Oct 2017 18:02:17 +0000 (14:02 -0400)
demo/parameters.c

index 627bb595fbad6ffaaa349c3f44720b198d876815..757959573b40b8c95d6d61264a8ac6f32c8b1bac 100644 (file)
         // | 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);
         // | 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);