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

Unified Diff: webrtc/api/mediastreaminterface.h

Issue 2629563003: Added a new echo likelihood stat that reports the maximum value from a previous time period. (Closed)
Patch Set: Small bugfix. Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/api/statscollector.cc » ('j') | webrtc/api/statscollector.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/mediastreaminterface.h
diff --git a/webrtc/api/mediastreaminterface.h b/webrtc/api/mediastreaminterface.h
index 693e5d00f07b673a39dcd8408ff21a5a08753cc2..a52f0c76455e0daeeff445b3c4a1822bdf7c8833 100644
--- a/webrtc/api/mediastreaminterface.h
+++ b/webrtc/api/mediastreaminterface.h
@@ -203,14 +203,16 @@ class AudioSourceInterface : public MediaSourceInterface {
class AudioProcessorInterface : public rtc::RefCountInterface {
public:
struct AudioProcessorStats {
- AudioProcessorStats() : typing_noise_detected(false),
- echo_return_loss(0),
- echo_return_loss_enhancement(0),
- echo_delay_median_ms(0),
- echo_delay_std_ms(0),
- aec_quality_min(0.0),
- residual_echo_likelihood(0.0f),
- aec_divergent_filter_fraction(0.0) {}
+ AudioProcessorStats()
+ : typing_noise_detected(false),
+ echo_return_loss(0),
+ echo_return_loss_enhancement(0),
+ echo_delay_median_ms(0),
+ echo_delay_std_ms(0),
+ aec_quality_min(0.0),
+ residual_echo_likelihood(0.0f),
+ residual_echo_likelihood_recent_max(0.0f),
+ aec_divergent_filter_fraction(0.0) {}
~AudioProcessorStats() {}
bool typing_noise_detected;
@@ -220,6 +222,7 @@ class AudioProcessorInterface : public rtc::RefCountInterface {
int echo_delay_std_ms;
float aec_quality_min;
float residual_echo_likelihood;
+ float residual_echo_likelihood_recent_max;
float aec_divergent_filter_fraction;
};
« no previous file with comments | « no previous file | webrtc/api/statscollector.cc » ('j') | webrtc/api/statscollector.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698