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

Side by Side Diff: webrtc/modules/audio_processing/test/unittest.proto

Issue 1969403003: Updating APM unittests on the echo metrics. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: assert to expect Created 4 years, 7 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
« no previous file with comments | « webrtc/modules/audio_processing/audio_processing_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 Test { 5 message Test {
6 optional int32 num_reverse_channels = 1; 6 optional int32 num_reverse_channels = 1;
7 optional int32 num_input_channels = 2; 7 optional int32 num_input_channels = 2;
8 optional int32 num_output_channels = 3; 8 optional int32 num_output_channels = 3;
9 optional int32 sample_rate = 4; 9 optional int32 sample_rate = 4;
10 10
(...skipping 14 matching lines...) Expand all
25 optional int32 average = 2; 25 optional int32 average = 2;
26 optional int32 maximum = 3; 26 optional int32 maximum = 3;
27 optional int32 minimum = 4; 27 optional int32 minimum = 4;
28 } 28 }
29 29
30 message EchoMetrics { 30 message EchoMetrics {
31 optional Statistic residual_echo_return_loss = 1; 31 optional Statistic residual_echo_return_loss = 1;
32 optional Statistic echo_return_loss = 2; 32 optional Statistic echo_return_loss = 2;
33 optional Statistic echo_return_loss_enhancement = 3; 33 optional Statistic echo_return_loss_enhancement = 3;
34 optional Statistic a_nlp = 4; 34 optional Statistic a_nlp = 4;
35 optional float divergent_filter_fraction = 5;
35 } 36 }
36 37
37 optional EchoMetrics echo_metrics = 11; 38 repeated EchoMetrics echo_metrics = 11;
38 39
39 message DelayMetrics { 40 message DelayMetrics {
40 optional int32 median = 1; 41 optional int32 median = 1;
41 optional int32 std = 2; 42 optional int32 std = 2;
42 optional float fraction_poor_delays = 3; 43 optional float fraction_poor_delays = 3;
43 } 44 }
44 45
45 optional DelayMetrics delay_metrics = 12; 46 repeated DelayMetrics delay_metrics = 12;
46 47
47 optional int32 rms_level = 13; 48 repeated int32 rms_level = 13;
48 49
49 optional float ns_speech_probability_average = 14; 50 optional float ns_speech_probability_average = 14;
50 51
51 optional bool use_aec_extended_filter = 15; 52 optional bool use_aec_extended_filter = 15;
52 } 53 }
53 54
54 message OutputData { 55 message OutputData {
55 repeated Test test = 1; 56 repeated Test test = 1;
56 } 57 }
57 58
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/audio_processing_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698