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 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; |
11 optional int32 reverse_sample_rate = 6; | 11 optional int32 reverse_sample_rate = 6; |
12 optional int32 output_sample_rate = 7; | 12 optional int32 output_sample_rate = 7; |
| 13 // Acoustic echo canceler |
| 14 optional bool aec_enabled = 8; |
| 15 optional bool aec_delay_agnostic = 9; |
| 16 optional bool aec_drift_compensation = 10; |
| 17 optional bool aec_extended_filter = 11; |
| 18 optional int32 aec_suppression_level = 12; |
| 19 // Mobile AEC |
| 20 optional bool aecm_enabled = 13; |
| 21 optional bool aecm_comfort_noise = 14; |
| 22 optional int32 aecm_routing_mode = 15; |
| 23 // Automatic gain controller |
| 24 optional bool agc_enabled = 16; |
| 25 optional int32 agc_mode = 17; |
| 26 optional bool agc_limiter = 18; |
| 27 // High pass filter |
| 28 optional bool hpf_enabled = 19; |
| 29 // Noise suppression |
| 30 optional bool ns_enabled = 20; |
| 31 optional bool ns_experiment = 21; |
| 32 optional int32 ns_level = 22; |
13 } | 33 } |
14 | 34 |
15 // May contain interleaved or deinterleaved data, but don't store both formats. | 35 // May contain interleaved or deinterleaved data, but don't store both formats. |
16 message ReverseStream { | 36 message ReverseStream { |
17 // int16 interleaved data. | 37 // int16 interleaved data. |
18 optional bytes data = 1; | 38 optional bytes data = 1; |
19 | 39 |
20 // float deinterleaved data, where each repeated element points to a single | 40 // float deinterleaved data, where each repeated element points to a single |
21 // channel buffer of data. | 41 // channel buffer of data. |
22 repeated bytes channel = 2; | 42 repeated bytes channel = 2; |
(...skipping 22 matching lines...) Expand all Loading... |
45 REVERSE_STREAM = 1; | 65 REVERSE_STREAM = 1; |
46 STREAM = 2; | 66 STREAM = 2; |
47 } | 67 } |
48 | 68 |
49 required Type type = 1; | 69 required Type type = 1; |
50 | 70 |
51 optional Init init = 2; | 71 optional Init init = 2; |
52 optional ReverseStream reverse_stream = 3; | 72 optional ReverseStream reverse_stream = 3; |
53 optional Stream stream = 4; | 73 optional Stream stream = 4; |
54 } | 74 } |
OLD | NEW |