two more asserts I forgot
[opus.git] / silk / tuning_parameters.h
index bf1d23b..d70275f 100644 (file)
@@ -50,11 +50,14 @@ 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
+#define LTP_CORR_INV_MAX                                0.03f
 
 /***********************/
 /* High pass filtering */
@@ -99,7 +102,7 @@ extern "C"
 #define WARPING_MULTIPLIER                              0.015f
 
 /* fraction added to first autocorrelation value */
-#define SHAPE_WHITE_NOISE_FRACTION                      5e-5f
+#define SHAPE_WHITE_NOISE_FRACTION                      3e-5f
 
 /* noise shaping filter chirp factor */
 #define BANDWIDTH_EXPANSION                             0.94f