OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |