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

Side by Side Diff: webrtc/modules/audio_processing/include/mock_audio_processing.h

Issue 1229443003: audio_processing: Adds two UMA histograms logging delay jumps in AEC (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Changed to use ENUMERATION Created 5 years, 5 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
« no previous file with comments | « webrtc/modules/audio_processing/include/audio_processing.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 MOCK_METHOD1(set_delay_offset_ms, 236 MOCK_METHOD1(set_delay_offset_ms,
237 void(int offset)); 237 void(int offset));
238 MOCK_CONST_METHOD0(delay_offset_ms, 238 MOCK_CONST_METHOD0(delay_offset_ms,
239 int()); 239 int());
240 MOCK_METHOD1(StartDebugRecording, 240 MOCK_METHOD1(StartDebugRecording,
241 int(const char filename[kMaxFilenameSize])); 241 int(const char filename[kMaxFilenameSize]));
242 MOCK_METHOD1(StartDebugRecording, 242 MOCK_METHOD1(StartDebugRecording,
243 int(FILE* handle)); 243 int(FILE* handle));
244 MOCK_METHOD0(StopDebugRecording, 244 MOCK_METHOD0(StopDebugRecording,
245 int()); 245 int());
246 MOCK_METHOD0(UpdateHistogramsOnCallEnd, void());
246 virtual MockEchoCancellation* echo_cancellation() const { 247 virtual MockEchoCancellation* echo_cancellation() const {
247 return echo_cancellation_.get(); 248 return echo_cancellation_.get();
248 } 249 }
249 virtual MockEchoControlMobile* echo_control_mobile() const { 250 virtual MockEchoControlMobile* echo_control_mobile() const {
250 return echo_control_mobile_.get(); 251 return echo_control_mobile_.get();
251 } 252 }
252 virtual MockGainControl* gain_control() const { 253 virtual MockGainControl* gain_control() const {
253 return gain_control_.get(); 254 return gain_control_.get();
254 } 255 }
255 virtual MockHighPassFilter* high_pass_filter() const { 256 virtual MockHighPassFilter* high_pass_filter() const {
(...skipping 15 matching lines...) Expand all
271 rtc::scoped_ptr<MockGainControl> gain_control_; 272 rtc::scoped_ptr<MockGainControl> gain_control_;
272 rtc::scoped_ptr<MockHighPassFilter> high_pass_filter_; 273 rtc::scoped_ptr<MockHighPassFilter> high_pass_filter_;
273 rtc::scoped_ptr<MockLevelEstimator> level_estimator_; 274 rtc::scoped_ptr<MockLevelEstimator> level_estimator_;
274 rtc::scoped_ptr<MockNoiseSuppression> noise_suppression_; 275 rtc::scoped_ptr<MockNoiseSuppression> noise_suppression_;
275 rtc::scoped_ptr<MockVoiceDetection> voice_detection_; 276 rtc::scoped_ptr<MockVoiceDetection> voice_detection_;
276 }; 277 };
277 278
278 } // namespace webrtc 279 } // namespace webrtc
279 280
280 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_MOCK_AUDIO_PROCESSING_H_ 281 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_MOCK_AUDIO_PROCESSING_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/include/audio_processing.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698