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

Side by Side Diff: webrtc/api/mediastreaminterface.h

Issue 2431443003: Add a placeholder stat for logging the estimated residual echo likelihood. (Closed)
Patch Set: Created 4 years, 2 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
OLDNEW
1 /* 1 /*
2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 aec_quality_min(0.0), 198 aec_quality_min(0.0),
199 echo_delay_std_ms(0), 199 echo_delay_std_ms(0),
200 aec_divergent_filter_fraction(0.0) {} 200 aec_divergent_filter_fraction(0.0) {}
201 ~AudioProcessorStats() {} 201 ~AudioProcessorStats() {}
202 202
203 bool typing_noise_detected; 203 bool typing_noise_detected;
204 int echo_return_loss; 204 int echo_return_loss;
205 int echo_return_loss_enhancement; 205 int echo_return_loss_enhancement;
206 int echo_delay_median_ms; 206 int echo_delay_median_ms;
207 float aec_quality_min; 207 float aec_quality_min;
208 int echo_delay_std_ms; 208 int echo_delay_std_ms;
the sun 2016/10/19 18:27:06 While you're poking around, why isn't echo_delay_s
ivoc 2016/10/20 14:28:12 It is now.
209 float residual_echo_likelihood = 0.0f;
the sun 2016/10/19 18:27:06 Initialize all fields in the same way, please - in
ivoc 2016/10/20 14:28:12 Done.
209 float aec_divergent_filter_fraction; 210 float aec_divergent_filter_fraction;
210 }; 211 };
211 212
212 // Get audio processor statistics. 213 // Get audio processor statistics.
213 virtual void GetStats(AudioProcessorStats* stats) = 0; 214 virtual void GetStats(AudioProcessorStats* stats) = 0;
214 215
215 protected: 216 protected:
216 virtual ~AudioProcessorInterface() {} 217 virtual ~AudioProcessorInterface() {}
217 }; 218 };
218 219
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 virtual bool RemoveTrack(AudioTrackInterface* track) = 0; 264 virtual bool RemoveTrack(AudioTrackInterface* track) = 0;
264 virtual bool RemoveTrack(VideoTrackInterface* track) = 0; 265 virtual bool RemoveTrack(VideoTrackInterface* track) = 0;
265 266
266 protected: 267 protected:
267 virtual ~MediaStreamInterface() {} 268 virtual ~MediaStreamInterface() {}
268 }; 269 };
269 270
270 } // namespace webrtc 271 } // namespace webrtc
271 272
272 #endif // WEBRTC_API_MEDIASTREAMINTERFACE_H_ 273 #endif // WEBRTC_API_MEDIASTREAMINTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698