| 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 MOCK_CONST_METHOD0(delay_offset_ms, int()); | 176 MOCK_CONST_METHOD0(delay_offset_ms, int()); |
| 177 MOCK_METHOD2(StartDebugRecording, int(const char filename[kMaxFilenameSize], | 177 MOCK_METHOD2(StartDebugRecording, int(const char filename[kMaxFilenameSize], |
| 178 int64_t max_log_size_bytes)); | 178 int64_t max_log_size_bytes)); |
| 179 MOCK_METHOD2(StartDebugRecording, int(FILE* handle, | 179 MOCK_METHOD2(StartDebugRecording, int(FILE* handle, |
| 180 int64_t max_log_size_bytes)); | 180 int64_t max_log_size_bytes)); |
| 181 MOCK_METHOD1(StartDebugRecording, int (FILE* handle)); | 181 MOCK_METHOD1(StartDebugRecording, int (FILE* handle)); |
| 182 MOCK_METHOD1(StartDebugRecordingForPlatformFile, | 182 MOCK_METHOD1(StartDebugRecordingForPlatformFile, |
| 183 int(rtc::PlatformFile handle)); | 183 int(rtc::PlatformFile handle)); |
| 184 MOCK_METHOD0(StopDebugRecording, int()); | 184 MOCK_METHOD0(StopDebugRecording, int()); |
| 185 MOCK_METHOD0(UpdateHistogramsOnCallEnd, void()); | 185 MOCK_METHOD0(UpdateHistogramsOnCallEnd, void()); |
| 186 MOCK_CONST_METHOD0(GetStatistics, AudioProcessingStatistics()); |
| 186 virtual MockEchoCancellation* echo_cancellation() const { | 187 virtual MockEchoCancellation* echo_cancellation() const { |
| 187 return echo_cancellation_.get(); | 188 return echo_cancellation_.get(); |
| 188 } | 189 } |
| 189 virtual MockEchoControlMobile* echo_control_mobile() const { | 190 virtual MockEchoControlMobile* echo_control_mobile() const { |
| 190 return echo_control_mobile_.get(); | 191 return echo_control_mobile_.get(); |
| 191 } | 192 } |
| 192 virtual MockGainControl* gain_control() const { | 193 virtual MockGainControl* gain_control() const { |
| 193 return gain_control_.get(); | 194 return gain_control_.get(); |
| 194 } | 195 } |
| 195 virtual MockHighPassFilter* high_pass_filter() const { | 196 virtual MockHighPassFilter* high_pass_filter() const { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 212 std::unique_ptr<MockHighPassFilter> high_pass_filter_; | 213 std::unique_ptr<MockHighPassFilter> high_pass_filter_; |
| 213 std::unique_ptr<MockLevelEstimator> level_estimator_; | 214 std::unique_ptr<MockLevelEstimator> level_estimator_; |
| 214 std::unique_ptr<MockNoiseSuppression> noise_suppression_; | 215 std::unique_ptr<MockNoiseSuppression> noise_suppression_; |
| 215 std::unique_ptr<MockVoiceDetection> voice_detection_; | 216 std::unique_ptr<MockVoiceDetection> voice_detection_; |
| 216 }; | 217 }; |
| 217 | 218 |
| 218 } // namespace test | 219 } // namespace test |
| 219 } // namespace webrtc | 220 } // namespace webrtc |
| 220 | 221 |
| 221 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_MOCK_AUDIO_PROCESSING_H_ | 222 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_MOCK_AUDIO_PROCESSING_H_ |
| OLD | NEW |