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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 MOCK_CONST_METHOD0(num_reverse_channels, | 207 MOCK_CONST_METHOD0(num_reverse_channels, |
208 int()); | 208 int()); |
209 MOCK_METHOD1(set_output_will_be_muted, | 209 MOCK_METHOD1(set_output_will_be_muted, |
210 void(bool muted)); | 210 void(bool muted)); |
211 MOCK_CONST_METHOD0(output_will_be_muted, | 211 MOCK_CONST_METHOD0(output_will_be_muted, |
212 bool()); | 212 bool()); |
213 MOCK_METHOD1(ProcessStream, | 213 MOCK_METHOD1(ProcessStream, |
214 int(AudioFrame* frame)); | 214 int(AudioFrame* frame)); |
215 MOCK_METHOD7(ProcessStream, | 215 MOCK_METHOD7(ProcessStream, |
216 int(const float* const* src, | 216 int(const float* const* src, |
217 int samples_per_channel, | 217 size_t samples_per_channel, |
218 int input_sample_rate_hz, | 218 int input_sample_rate_hz, |
219 ChannelLayout input_layout, | 219 ChannelLayout input_layout, |
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_METHOD1(ProcessReverseStream, int(AudioFrame* frame)); |
231 MOCK_METHOD4(AnalyzeReverseStream, | 231 MOCK_METHOD4(AnalyzeReverseStream, |
232 int(const float* const* data, int frames, int sample_rate_hz, | 232 int(const float* const* data, size_t frames, int sample_rate_hz, |
233 ChannelLayout input_layout)); | 233 ChannelLayout input_layout)); |
234 MOCK_METHOD4(ProcessReverseStream, | 234 MOCK_METHOD4(ProcessReverseStream, |
235 int(const float* const* src, | 235 int(const float* const* src, |
236 const StreamConfig& input_config, | 236 const StreamConfig& input_config, |
237 const StreamConfig& output_config, | 237 const StreamConfig& output_config, |
238 float* const* dest)); | 238 float* const* dest)); |
239 MOCK_METHOD1(set_stream_delay_ms, | 239 MOCK_METHOD1(set_stream_delay_ms, |
240 int(int delay)); | 240 int(int delay)); |
241 MOCK_CONST_METHOD0(stream_delay_ms, | 241 MOCK_CONST_METHOD0(stream_delay_ms, |
242 int()); | 242 int()); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 rtc::scoped_ptr<MockGainControl> gain_control_; | 285 rtc::scoped_ptr<MockGainControl> gain_control_; |
286 rtc::scoped_ptr<MockHighPassFilter> high_pass_filter_; | 286 rtc::scoped_ptr<MockHighPassFilter> high_pass_filter_; |
287 rtc::scoped_ptr<MockLevelEstimator> level_estimator_; | 287 rtc::scoped_ptr<MockLevelEstimator> level_estimator_; |
288 rtc::scoped_ptr<MockNoiseSuppression> noise_suppression_; | 288 rtc::scoped_ptr<MockNoiseSuppression> noise_suppression_; |
289 rtc::scoped_ptr<MockVoiceDetection> voice_detection_; | 289 rtc::scoped_ptr<MockVoiceDetection> voice_detection_; |
290 }; | 290 }; |
291 | 291 |
292 } // namespace webrtc | 292 } // namespace webrtc |
293 | 293 |
294 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_MOCK_AUDIO_PROCESSING_H_ | 294 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_MOCK_AUDIO_PROCESSING_H_ |
OLD | NEW |