Chromium Code Reviews| 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 214 int(const float* const* src, | 214 int(const float* const* src, |
| 215 int samples_per_channel, | 215 int samples_per_channel, |
| 216 int input_sample_rate_hz, | 216 int input_sample_rate_hz, |
| 217 ChannelLayout input_layout, | 217 ChannelLayout input_layout, |
| 218 int output_sample_rate_hz, | 218 int output_sample_rate_hz, |
| 219 ChannelLayout output_layout, | 219 ChannelLayout output_layout, |
| 220 float* const* dest)); | 220 float* const* dest)); |
| 221 MOCK_METHOD1(AnalyzeReverseStream, | 221 MOCK_METHOD1(AnalyzeReverseStream, |
| 222 int(AudioFrame* frame)); | 222 int(AudioFrame* frame)); |
| 223 MOCK_METHOD4(AnalyzeReverseStream, | 223 MOCK_METHOD4(AnalyzeReverseStream, |
| 224 int(const float* const* data, int frames, int sample_rate_hz, | 224 int(const float* const* data, |
| 225 ChannelLayout input_layout)); | 225 int frames, |
| 226 int sample_rate_hz, | |
| 227 ChannelLayout input_layout)); | |
| 228 MOCK_METHOD4(ProcessReverseStream, | |
| 229 int(float* const* data, | |
| 230 int samples_per_channel, | |
|
aluebs-webrtc
2015/07/20 19:33:43
Maybe change both to num_frames, since it is the n
ekm
2015/07/21 01:02:44
Done.
| |
| 231 int sample_rate_hz, | |
| 232 ChannelLayout layout)); | |
|
aluebs-webrtc
2015/07/20 19:33:43
input_layout, to be consistent.
ekm
2015/07/21 01:02:43
Done.
| |
| 226 MOCK_METHOD1(set_stream_delay_ms, | 233 MOCK_METHOD1(set_stream_delay_ms, |
| 227 int(int delay)); | 234 int(int delay)); |
| 228 MOCK_CONST_METHOD0(stream_delay_ms, | 235 MOCK_CONST_METHOD0(stream_delay_ms, |
| 229 int()); | 236 int()); |
| 230 MOCK_CONST_METHOD0(was_stream_delay_set, | 237 MOCK_CONST_METHOD0(was_stream_delay_set, |
| 231 bool()); | 238 bool()); |
| 232 MOCK_METHOD1(set_stream_key_pressed, | 239 MOCK_METHOD1(set_stream_key_pressed, |
| 233 void(bool key_pressed)); | 240 void(bool key_pressed)); |
| 234 MOCK_CONST_METHOD0(stream_key_pressed, | 241 MOCK_CONST_METHOD0(stream_key_pressed, |
| 235 bool()); | 242 bool()); |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 272 rtc::scoped_ptr<MockGainControl> gain_control_; | 279 rtc::scoped_ptr<MockGainControl> gain_control_; |
| 273 rtc::scoped_ptr<MockHighPassFilter> high_pass_filter_; | 280 rtc::scoped_ptr<MockHighPassFilter> high_pass_filter_; |
| 274 rtc::scoped_ptr<MockLevelEstimator> level_estimator_; | 281 rtc::scoped_ptr<MockLevelEstimator> level_estimator_; |
| 275 rtc::scoped_ptr<MockNoiseSuppression> noise_suppression_; | 282 rtc::scoped_ptr<MockNoiseSuppression> noise_suppression_; |
| 276 rtc::scoped_ptr<MockVoiceDetection> voice_detection_; | 283 rtc::scoped_ptr<MockVoiceDetection> voice_detection_; |
| 277 }; | 284 }; |
| 278 | 285 |
| 279 } // namespace webrtc | 286 } // namespace webrtc |
| 280 | 287 |
| 281 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_MOCK_AUDIO_PROCESSING_H_ | 288 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_MOCK_AUDIO_PROCESSING_H_ |
| OLD | NEW |