| 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 int output_sample_rate_hz, | 220 int output_sample_rate_hz, |
| 221 ChannelLayout output_layout, | 221 ChannelLayout output_layout, |
| 222 float* const* dest)); | 222 float* const* dest)); |
| 223 MOCK_METHOD4(ProcessStream, | 223 MOCK_METHOD4(ProcessStream, |
| 224 int(const float* const* src, | 224 int(const float* const* src, |
| 225 const StreamConfig& input_config, | 225 const StreamConfig& input_config, |
| 226 const StreamConfig& output_config, | 226 const StreamConfig& output_config, |
| 227 float* const* dest)); | 227 float* const* dest)); |
| 228 MOCK_METHOD1(AnalyzeReverseStream, | 228 MOCK_METHOD1(AnalyzeReverseStream, |
| 229 int(AudioFrame* frame)); | 229 int(AudioFrame* frame)); |
| 230 MOCK_METHOD1(ProcessReverseStream, int(AudioFrame* frame)); |
| 230 MOCK_METHOD4(AnalyzeReverseStream, | 231 MOCK_METHOD4(AnalyzeReverseStream, |
| 231 int(const float* const* data, int frames, int sample_rate_hz, | 232 int(const float* const* data, int frames, int sample_rate_hz, |
| 232 ChannelLayout input_layout)); | 233 ChannelLayout input_layout)); |
| 234 MOCK_METHOD4(ProcessReverseStream, |
| 235 int(float* const* data, |
| 236 int num_frames, |
| 237 int sample_rate_hz, |
| 238 ChannelLayout input_layout)); |
| 233 MOCK_METHOD2(AnalyzeReverseStream, | 239 MOCK_METHOD2(AnalyzeReverseStream, |
| 234 int(const float* const* data, const StreamConfig& reverse_config)); | 240 int(const float* const* data, const StreamConfig& reverse_config)); |
| 241 MOCK_METHOD2(ProcessReverseStream, |
| 242 int(float* const* data, const StreamConfig& reverse_config)); |
| 235 MOCK_METHOD1(set_stream_delay_ms, | 243 MOCK_METHOD1(set_stream_delay_ms, |
| 236 int(int delay)); | 244 int(int delay)); |
| 237 MOCK_CONST_METHOD0(stream_delay_ms, | 245 MOCK_CONST_METHOD0(stream_delay_ms, |
| 238 int()); | 246 int()); |
| 239 MOCK_CONST_METHOD0(was_stream_delay_set, | 247 MOCK_CONST_METHOD0(was_stream_delay_set, |
| 240 bool()); | 248 bool()); |
| 241 MOCK_METHOD1(set_stream_key_pressed, | 249 MOCK_METHOD1(set_stream_key_pressed, |
| 242 void(bool key_pressed)); | 250 void(bool key_pressed)); |
| 243 MOCK_CONST_METHOD0(stream_key_pressed, | 251 MOCK_CONST_METHOD0(stream_key_pressed, |
| 244 bool()); | 252 bool()); |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 rtc::scoped_ptr<MockGainControl> gain_control_; | 289 rtc::scoped_ptr<MockGainControl> gain_control_; |
| 282 rtc::scoped_ptr<MockHighPassFilter> high_pass_filter_; | 290 rtc::scoped_ptr<MockHighPassFilter> high_pass_filter_; |
| 283 rtc::scoped_ptr<MockLevelEstimator> level_estimator_; | 291 rtc::scoped_ptr<MockLevelEstimator> level_estimator_; |
| 284 rtc::scoped_ptr<MockNoiseSuppression> noise_suppression_; | 292 rtc::scoped_ptr<MockNoiseSuppression> noise_suppression_; |
| 285 rtc::scoped_ptr<MockVoiceDetection> voice_detection_; | 293 rtc::scoped_ptr<MockVoiceDetection> voice_detection_; |
| 286 }; | 294 }; |
| 287 | 295 |
| 288 } // namespace webrtc | 296 } // namespace webrtc |
| 289 | 297 |
| 290 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_MOCK_AUDIO_PROCESSING_H_ | 298 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_MOCK_AUDIO_PROCESSING_H_ |
| OLD | NEW |