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

Side by Side 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: update 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 unified diff | Download patch
OLDNEW
1 syntax = "proto2"; 1 syntax = "proto2";
2 option optimize_for = LITE_RUNTIME; 2 option optimize_for = LITE_RUNTIME;
3 package webrtc.audioproc; 3 package webrtc.audioproc;
4 4
5 message Init { 5 message Init {
6 optional int32 sample_rate = 1; 6 optional int32 sample_rate = 1;
7 optional int32 device_sample_rate = 2 [deprecated=true]; 7 optional int32 device_sample_rate = 2 [deprecated=true];
8 optional int32 num_input_channels = 3; 8 optional int32 num_input_channels = 3;
9 optional int32 num_output_channels = 4; 9 optional int32 num_output_channels = 4;
10 optional int32 num_reverse_channels = 5; 10 optional int32 num_reverse_channels = 5;
(...skipping 21 matching lines...) Expand all
32 optional sint32 drift = 4; 32 optional sint32 drift = 4;
33 optional int32 level = 5; 33 optional int32 level = 5;
34 optional bool keypress = 6; 34 optional bool keypress = 6;
35 35
36 // float deinterleaved data, where each repeated element points to a single 36 // float deinterleaved data, where each repeated element points to a single
37 // channel buffer of data. 37 // channel buffer of data.
38 repeated bytes input_channel = 7; 38 repeated bytes input_channel = 7;
39 repeated bytes output_channel = 8; 39 repeated bytes output_channel = 8;
40 } 40 }
41 41
42 message Config {
43 // Acoustic echo canceler
44 optional bool aec_enabled = 1;
45 optional bool aec_delay_agnostic = 2;
46 optional bool aec_drift_compensation = 3;
47 optional bool aec_extended_filter = 4;
48 optional int32 aec_suppression_level = 5;
49 // Mobile AEC
50 optional bool aecm_enabled = 11;
51 optional bool aecm_comfort_noise = 12;
52 optional int32 aecm_routing_mode = 13;
53 // Automatic gain controller
54 optional bool agc_enabled = 21;
55 optional bool agc_experiment = 22;
minyue-webrtc 2015/09/24 17:26:23 I found agc_experiment a crucial information, and
56 optional int32 agc_mode = 23;
57 optional bool agc_limiter = 24;
58 // High pass filter
59 optional bool hpf_enabled = 31;
60 // Noise suppression
61 optional bool ns_enabled = 41;
62 optional bool ns_experiment = 42;
63 optional int32 ns_level = 43;
64 }
65
42 message Event { 66 message Event {
43 enum Type { 67 enum Type {
44 INIT = 0; 68 INIT = 0;
45 REVERSE_STREAM = 1; 69 REVERSE_STREAM = 1;
46 STREAM = 2; 70 STREAM = 2;
71 CONFIG = 4;
47 } 72 }
48 73
49 required Type type = 1; 74 required Type type = 1;
50 75
51 optional Init init = 2; 76 optional Init init = 2;
52 optional ReverseStream reverse_stream = 3; 77 optional ReverseStream reverse_stream = 3;
53 optional Stream stream = 4; 78 optional Stream stream = 4;
79 optional Config config = 5;
54 } 80 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698