- Compute RMS over a packet's worth of audio to be sent in Channel, rather than the captured audio in TransmitMixer. - We now use the entire packet rather than the last 10 ms frame. - Restore functionality to LevelEstimator. - Fix a bug in the splitting filter. - Fix a number of bugs in process_test related to a poorly named AudioFrame member. - Update the unittest protobuf and float reference output. - Add audioproc unittests. - Reenable voe_extended_tests, and add a real function test. - Use correct minimum level of 127. TEST=audioproc_unittest, audioproc, voe_extended_test, voe_auto_test Review URL: http://webrtc-codereview.appspot.com/279003 git-svn-id: http://webrtc.googlecode.com/svn/trunk@950 4adac7df-926f-26a2-2b94-8c16560cd09d
53 lines
1.1 KiB
Protocol Buffer
53 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_echo_count = 8;
|
|
optional int32 has_voice_count = 9;
|
|
optional int32 is_saturated_count = 10;
|
|
|
|
message Statistic {
|
|
optional int32 instant = 1;
|
|
optional int32 average = 2;
|
|
optional int32 maximum = 3;
|
|
optional int32 minimum = 4;
|
|
}
|
|
|
|
message EchoMetrics {
|
|
optional Statistic residual_echo_return_loss = 1;
|
|
optional Statistic echo_return_loss = 2;
|
|
optional Statistic echo_return_loss_enhancement = 3;
|
|
optional Statistic a_nlp = 4;
|
|
}
|
|
|
|
optional EchoMetrics echo_metrics = 11;
|
|
|
|
message DelayMetrics {
|
|
optional int32 median = 1;
|
|
optional int32 std = 2;
|
|
}
|
|
|
|
optional DelayMetrics delay_metrics = 12;
|
|
|
|
optional int32 rms_level = 13;
|
|
}
|
|
|
|
message OutputData {
|
|
repeated Test test = 1;
|
|
}
|
|
|