summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/modules/audio_processing/test/unittest.proto
blob: 07d1cda6c8027bc0a3430da1f4f890e64c0daa01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
syntax = "proto2";
option optimize_for = LITE_RUNTIME;
package webrtc.audioproc;

message Test {
  optional int32 num_reverse_channels = 1;
  optional int32 num_input_channels = 2;
  optional int32 num_output_channels = 3;
  optional int32 sample_rate = 4;

  message Frame {
  }

  repeated Frame frame = 5;

  optional int32 analog_level_average = 6;
  optional int32 max_output_average = 7;
  optional int32 has_voice_count = 9;
  optional int32 is_saturated_count = 10;

  message EchoMetrics {
    optional float echo_return_loss = 1;
    optional float echo_return_loss_enhancement = 2;
    optional float divergent_filter_fraction = 3;
    optional float residual_echo_likelihood = 4;
    optional float residual_echo_likelihood_recent_max = 5;
  }

  repeated EchoMetrics echo_metrics = 11;

  message DelayMetrics {
    optional int32 median = 1;
    optional int32 std = 2;
  }

  repeated DelayMetrics delay_metrics = 12;

  optional float rms_dbfs_average = 13;

  optional float ns_speech_probability_average = 14;

  optional bool use_aec_extended_filter = 15;
}

message OutputData {
  repeated Test test = 1;
}