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

Unified Diff: webrtc/modules/audio_processing/debug.proto

Issue 1348903004: Adding APM configuration in AEC dump. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Remove ApmConfig and use audioproc::Config Created 5 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/debug.proto
diff --git a/webrtc/modules/audio_processing/debug.proto b/webrtc/modules/audio_processing/debug.proto
index dce2f7920930452f7a512d9bda2f3679893cddc2..edac7af62e1fe29d4eb875faac8fe7144ea760a1 100644
--- a/webrtc/modules/audio_processing/debug.proto
+++ b/webrtc/modules/audio_processing/debug.proto
@@ -2,6 +2,8 @@ syntax = "proto2";
option optimize_for = LITE_RUNTIME;
package webrtc.audioproc;
+// Contains the format of input/output/reverse audio. An Init message is added
+// when any of the fields is changed.
message Init {
optional int32 sample_rate = 1;
optional int32 device_sample_rate = 2 [deprecated=true];
@@ -39,11 +41,39 @@ message Stream {
repeated bytes output_channel = 8;
}
+// Contains the configurations of various APM component. A Config message is
+// added when any of the fields is changed.
+message Config {
+ // Next field number 17.
+ // Acoustic echo canceler.
+ optional bool aec_enabled = 1;
+ optional bool aec_delay_agnostic = 2;
+ optional bool aec_drift_compensation = 3;
+ optional bool aec_extended_filter = 4;
+ optional int32 aec_suppression_level = 5;
+ // Mobile AEC.
+ optional bool aecm_enabled = 6;
+ optional bool aecm_comfort_noise = 7;
+ optional int32 aecm_routing_mode = 8;
+ // Automatic gain controller.
+ optional bool agc_enabled = 9;
+ optional bool agc_experiment = 10;
+ optional int32 agc_mode = 11;
+ optional bool agc_limiter = 12;
+ // High pass filter.
+ optional bool hpf_enabled = 13;
+ // Noise suppression.
+ optional bool ns_enabled = 14;
+ optional bool ns_experiment = 15;
+ optional int32 ns_level = 16;
+}
+
message Event {
enum Type {
INIT = 0;
REVERSE_STREAM = 1;
STREAM = 2;
+ CONFIG = 3;
}
required Type type = 1;
@@ -51,4 +81,5 @@ message Event {
optional Init init = 2;
optional ReverseStream reverse_stream = 3;
optional Stream stream = 4;
+ optional Config config = 5;
}

Powered by Google App Engine
This is Rietveld 408576698