ajm@google.com | 808e0e0 | 2011-08-03 21:08:51 +0000 | [diff] [blame] | 1 | syntax = "proto2"; |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 2 | option optimize_for = LITE_RUNTIME; |
ajm@google.com | 808e0e0 | 2011-08-03 21:08:51 +0000 | [diff] [blame] | 3 | package webrtc.audioproc; |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 4 | |
| 5 | message Test { |
ajm@google.com | a769fa5 | 2011-07-13 21:57:58 +0000 | [diff] [blame] | 6 | optional int32 num_reverse_channels = 1; |
| 7 | optional int32 num_input_channels = 2; |
| 8 | optional int32 num_output_channels = 3; |
| 9 | optional int32 sample_rate = 4; |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 10 | |
ajm@google.com | a769fa5 | 2011-07-13 21:57:58 +0000 | [diff] [blame] | 11 | message Frame { |
| 12 | } |
| 13 | |
| 14 | repeated Frame frame = 5; |
| 15 | |
| 16 | optional int32 analog_level_average = 6; |
| 17 | optional int32 max_output_average = 7; |
| 18 | |
| 19 | optional int32 has_echo_count = 8; |
| 20 | optional int32 has_voice_count = 9; |
| 21 | optional int32 is_saturated_count = 10; |
| 22 | |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 23 | message Statistic { |
| 24 | optional int32 instant = 1; |
| 25 | optional int32 average = 2; |
| 26 | optional int32 maximum = 3; |
| 27 | optional int32 minimum = 4; |
| 28 | } |
| 29 | |
| 30 | message EchoMetrics { |
ajm@google.com | a769fa5 | 2011-07-13 21:57:58 +0000 | [diff] [blame] | 31 | optional Statistic residual_echo_return_loss = 1; |
| 32 | optional Statistic echo_return_loss = 2; |
| 33 | optional Statistic echo_return_loss_enhancement = 3; |
| 34 | optional Statistic a_nlp = 4; |
minyue | 58530ed | 2016-05-24 05:50:12 -0700 | [diff] [blame] | 35 | optional float divergent_filter_fraction = 5; |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 36 | } |
| 37 | |
minyue | 58530ed | 2016-05-24 05:50:12 -0700 | [diff] [blame] | 38 | repeated EchoMetrics echo_metrics = 11; |
bjornv@google.com | 1ba3dbe | 2011-10-03 08:18:10 +0000 | [diff] [blame] | 39 | |
| 40 | message DelayMetrics { |
| 41 | optional int32 median = 1; |
| 42 | optional int32 std = 2; |
bjornv@webrtc.org | b1786db | 2015-02-03 06:06:26 +0000 | [diff] [blame] | 43 | optional float fraction_poor_delays = 3; |
bjornv@google.com | 1ba3dbe | 2011-10-03 08:18:10 +0000 | [diff] [blame] | 44 | } |
| 45 | |
minyue | 58530ed | 2016-05-24 05:50:12 -0700 | [diff] [blame] | 46 | repeated DelayMetrics delay_metrics = 12; |
andrew@webrtc.org | 755b04a | 2011-11-15 16:57:56 +0000 | [diff] [blame] | 47 | |
minyue | 58530ed | 2016-05-24 05:50:12 -0700 | [diff] [blame] | 48 | repeated int32 rms_level = 13; |
bjornv@webrtc.org | 08329f4 | 2012-07-12 21:00:43 +0000 | [diff] [blame] | 49 | |
| 50 | optional float ns_speech_probability_average = 14; |
| 51 | |
aluebs@webrtc.org | f17ee9c | 2015-01-29 00:03:53 +0000 | [diff] [blame] | 52 | optional bool use_aec_extended_filter = 15; |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 53 | } |
| 54 | |
| 55 | message OutputData { |
| 56 | repeated Test test = 1; |
| 57 | } |
| 58 | |