Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1059)

Unified Diff: webrtc/modules/audio_processing/level_controller/lc_constants.h

Issue 2337083002: Reland of added functionality for specifying the initial signal level to use for the gain estimation (Closed)
Patch Set: Changed name of unit test Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_processing/level_controller/lc_constants.h
diff --git a/webrtc/modules/audio_processing/level_controller/lc_constants.h b/webrtc/modules/audio_processing/level_controller/lc_constants.h
index 3390cc96e5e12bb97abfc15ebf72b02db23853cf..f7ed15b438a96b71a2174099a2cdd0f434fce944 100644
--- a/webrtc/modules/audio_processing/level_controller/lc_constants.h
+++ b/webrtc/modules/audio_processing/level_controller/lc_constants.h
@@ -15,7 +15,8 @@ namespace webrtc {
const float kMaxLcGain = 10;
const float kMaxLcNoisePower = 100.f * 100.f;
-const float kTargetLcPeakLevel = 0.5f * 32767.f;
+const float kTargetLcPeakLevel = 16384.f;
+const float kTargetLcPeakLeveldBFS = -6.0206f;
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698