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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 int()); | 183 int()); |
184 MOCK_METHOD6(Initialize, | 184 MOCK_METHOD6(Initialize, |
185 int(int sample_rate_hz, | 185 int(int sample_rate_hz, |
186 int output_sample_rate_hz, | 186 int output_sample_rate_hz, |
187 int reverse_sample_rate_hz, | 187 int reverse_sample_rate_hz, |
188 ChannelLayout input_layout, | 188 ChannelLayout input_layout, |
189 ChannelLayout output_layout, | 189 ChannelLayout output_layout, |
190 ChannelLayout reverse_layout)); | 190 ChannelLayout reverse_layout)); |
191 MOCK_METHOD1(Initialize, | 191 MOCK_METHOD1(Initialize, |
192 int(const ProcessingConfig& processing_config)); | 192 int(const ProcessingConfig& processing_config)); |
193 MOCK_METHOD1(SetExtraOptions, | 193 MOCK_METHOD1(ApplyConfig, void(const Config& config)); |
194 void(const Config& config)); | 194 MOCK_METHOD1(SetExtraOptions, void(const webrtc::Config& config)); |
195 MOCK_METHOD1(set_sample_rate_hz, | 195 MOCK_METHOD1(set_sample_rate_hz, |
196 int(int rate)); | 196 int(int rate)); |
197 MOCK_CONST_METHOD0(input_sample_rate_hz, | 197 MOCK_CONST_METHOD0(input_sample_rate_hz, |
198 int()); | 198 int()); |
199 MOCK_CONST_METHOD0(sample_rate_hz, | 199 MOCK_CONST_METHOD0(sample_rate_hz, |
200 int()); | 200 int()); |
201 MOCK_CONST_METHOD0(proc_sample_rate_hz, | 201 MOCK_CONST_METHOD0(proc_sample_rate_hz, |
202 int()); | 202 int()); |
203 MOCK_CONST_METHOD0(proc_split_sample_rate_hz, | 203 MOCK_CONST_METHOD0(proc_split_sample_rate_hz, |
204 int()); | 204 int()); |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 std::unique_ptr<MockGainControl> gain_control_; | 288 std::unique_ptr<MockGainControl> gain_control_; |
289 std::unique_ptr<MockHighPassFilter> high_pass_filter_; | 289 std::unique_ptr<MockHighPassFilter> high_pass_filter_; |
290 std::unique_ptr<MockLevelEstimator> level_estimator_; | 290 std::unique_ptr<MockLevelEstimator> level_estimator_; |
291 std::unique_ptr<MockNoiseSuppression> noise_suppression_; | 291 std::unique_ptr<MockNoiseSuppression> noise_suppression_; |
292 std::unique_ptr<MockVoiceDetection> voice_detection_; | 292 std::unique_ptr<MockVoiceDetection> voice_detection_; |
293 }; | 293 }; |
294 | 294 |
295 } // namespace webrtc | 295 } // namespace webrtc |
296 | 296 |
297 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_MOCK_AUDIO_PROCESSING_H_ | 297 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_MOCK_AUDIO_PROCESSING_H_ |
OLD | NEW |