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

Unified Diff: webrtc/modules/audio_processing/aec3/aec3_common.h

Issue 2722453002: Adding metrics to AEC3 (Closed)
Patch Set: Created 3 years, 10 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/aec3/aec3_common.h
diff --git a/webrtc/modules/audio_processing/aec3/aec3_common.h b/webrtc/modules/audio_processing/aec3/aec3_common.h
index 3a5e835e21d3b782fe2eb971ea7a7b8f1bda93f2..415c4f47d7726eb4da49e89e437e90cd99cef8e8 100644
--- a/webrtc/modules/audio_processing/aec3/aec3_common.h
+++ b/webrtc/modules/audio_processing/aec3/aec3_common.h
@@ -26,6 +26,11 @@ namespace webrtc {
enum class Aec3Optimization { kNone, kSse2 };
+constexpr int kMetricsReportingInterval = 10 * 250;
hlundin-webrtc 2017/02/28 10:04:22 What is the unit? Milliseconds?
peah-webrtc 2017/02/28 12:57:25 Done.
+constexpr int kMetricsComputationBlocks = 10;
+constexpr int kMetricsCollectionBlocks =
+ kMetricsReportingInterval - kMetricsComputationBlocks;
+
constexpr size_t kFftLengthBy2 = 64;
constexpr size_t kFftLengthBy2Plus1 = kFftLengthBy2 + 1;
constexpr size_t kFftLengthBy2Minus1 = kFftLengthBy2 - 1;

Powered by Google App Engine
This is Rietveld 408576698