summaryrefslogtreecommitdiff
path: root/silk/tuning_parameters.h
diff options
context:
space:
mode:
authorKoen Vos <koenvos@users.noreply.github.com>2016-06-03 14:18:03 +0800
committerJean-Marc Valin <jmvalin@jmvalin.ca>2016-07-19 16:11:41 -0400
commit0a698d65226470b37a457a6b3758a486cefe53db (patch)
tree74c29b1b8bca1dfe0275bac486d40ea349e118a4 /silk/tuning_parameters.h
parentf78e5080ab79567305bfc8755e4dad5678473f7b (diff)
downloadopus-0a698d65226470b37a457a6b3758a486cefe53db.tar.gz
merge back in the LTP gain safety limiter
Diffstat (limited to 'silk/tuning_parameters.h')
-rw-r--r--silk/tuning_parameters.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/silk/tuning_parameters.h b/silk/tuning_parameters.h
index 3a2aad31..1625c3ee 100644
--- a/silk/tuning_parameters.h
+++ b/silk/tuning_parameters.h
@@ -50,9 +50,12 @@ extern "C"
/* Linear prediction */
/*********************/
-/* LPC analysis defines: regularization and bandwidth expansion */
+/* LPC analysis regularization */
#define FIND_LPC_COND_FAC 1e-5f
+/* Max cumulative LTP gain */
+#define MAX_SUM_LOG_GAIN_DB 250.0f
+
/* LTP analysis defines */
#define LTP_CORR_INV_MAX 0.015f