OLD | NEW |
---|---|
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 // Contains the format of input/output/reverse audio. An Init message is added | 5 // Contains the format of input/output/reverse audio. An Init message is added |
6 // when any of the fields are changed. | 6 // when any of the fields are changed. |
7 message Init { | 7 message Init { |
8 optional int32 sample_rate = 1; | 8 optional int32 sample_rate = 1; |
9 optional int32 device_sample_rate = 2 [deprecated=true]; | 9 optional int32 device_sample_rate = 2 [deprecated=true]; |
10 optional int32 num_input_channels = 3; | 10 optional int32 num_input_channels = 3; |
(...skipping 28 matching lines...) Expand all Loading... | |
39 | 39 |
40 // float deinterleaved data, where each repeated element points to a single | 40 // float deinterleaved data, where each repeated element points to a single |
41 // channel buffer of data. | 41 // channel buffer of data. |
42 repeated bytes input_channel = 7; | 42 repeated bytes input_channel = 7; |
43 repeated bytes output_channel = 8; | 43 repeated bytes output_channel = 8; |
44 } | 44 } |
45 | 45 |
46 // Contains the configurations of various APM component. A Config message is | 46 // Contains the configurations of various APM component. A Config message is |
47 // added when any of the fields are changed. | 47 // added when any of the fields are changed. |
48 message Config { | 48 message Config { |
49 // Next field number 17. | 49 // Next field number 18. |
50 // Acoustic echo canceler. | 50 // Acoustic echo canceler. |
51 optional bool aec_enabled = 1; | 51 optional bool aec_enabled = 1; |
52 optional bool aec_delay_agnostic_enabled = 2; | 52 optional bool aec_delay_agnostic_enabled = 2; |
53 optional bool aec_drift_compensation_enabled = 3; | 53 optional bool aec_drift_compensation_enabled = 3; |
54 optional bool aec_extended_filter_enabled = 4; | 54 optional bool aec_extended_filter_enabled = 4; |
55 optional int32 aec_suppression_level = 5; | 55 optional int32 aec_suppression_level = 5; |
56 // Mobile AEC. | 56 // Mobile AEC. |
57 optional bool aecm_enabled = 6; | 57 optional bool aecm_enabled = 6; |
58 optional bool aecm_comfort_noise_enabled = 7; | 58 optional bool aecm_comfort_noise_enabled = 7; |
59 optional int32 aecm_routing_mode = 8; | 59 optional int32 aecm_routing_mode = 8; |
60 // Automatic gain controller. | 60 // Automatic gain controller. |
61 optional bool agc_enabled = 9; | 61 optional bool agc_enabled = 9; |
62 optional int32 agc_mode = 10; | 62 optional int32 agc_mode = 10; |
63 optional bool agc_limiter_enabled = 11; | 63 optional bool agc_limiter_enabled = 11; |
64 optional bool noise_robust_agc_enabled = 12; | 64 optional bool noise_robust_agc_enabled = 12; |
65 // High pass filter. | 65 // High pass filter. |
66 optional bool hpf_enabled = 13; | 66 optional bool hpf_enabled = 13; |
67 // Noise suppression. | 67 // Noise suppression. |
68 optional bool ns_enabled = 14; | 68 optional bool ns_enabled = 14; |
69 optional int32 ns_level = 15; | 69 optional int32 ns_level = 15; |
70 // Transient suppression. | 70 // Transient suppression. |
71 optional bool transient_suppression_enabled = 16; | 71 optional bool transient_suppression_enabled = 16; |
72 // Semicolon separated string containing experimental feature | |
hlundin-webrtc
2016/04/14 07:50:07
"Semicolon-separated"
peah-webrtc
2016/04/14 11:11:06
Done.
| |
73 // descriptions. | |
74 optional string experiments_description = 17; | |
72 } | 75 } |
73 | 76 |
74 message Event { | 77 message Event { |
75 enum Type { | 78 enum Type { |
76 INIT = 0; | 79 INIT = 0; |
77 REVERSE_STREAM = 1; | 80 REVERSE_STREAM = 1; |
78 STREAM = 2; | 81 STREAM = 2; |
79 CONFIG = 3; | 82 CONFIG = 3; |
80 UNKNOWN_EVENT = 4; | 83 UNKNOWN_EVENT = 4; |
81 } | 84 } |
82 | 85 |
83 required Type type = 1; | 86 required Type type = 1; |
84 | 87 |
85 optional Init init = 2; | 88 optional Init init = 2; |
86 optional ReverseStream reverse_stream = 3; | 89 optional ReverseStream reverse_stream = 3; |
87 optional Stream stream = 4; | 90 optional Stream stream = 4; |
88 optional Config config = 5; | 91 optional Config config = 5; |
89 } | 92 } |
OLD | NEW |