webrtc/modules/audio_processing/test/unittest.proto
Sam Zackrisson 11b8703201 Base ApmTest.Process on AudioProcessingStats.output_rms_dbfs
This replaces the current usage of AudioProcessing::level_estimator()
in that test.

The unit tests that specifically test the level_estimator API are left
in place, until the level_estimator API itself is removed.

Bug: webrtc:9947
Change-Id: I73301c1478d2c9763bb49598a692142229102876
Reviewed-on: https://webrtc-review.googlesource.com/c/114550
Commit-Queue: Sam Zackrisson <saza@webrtc.org>
Reviewed-by: Alessio Bazzica <alessiob@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26049}
2018-12-18 16:45:03 +00:00

48 lines
1.1 KiB
Protocol Buffer

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;
}