Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Side by Side Diff: webrtc/modules/audio_processing/include/mock_audio_processing.h

Issue 1316523002: Convert channel counts to size_t. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Fix compile Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 int(int rate)); 194 int(int rate));
195 MOCK_CONST_METHOD0(input_sample_rate_hz, 195 MOCK_CONST_METHOD0(input_sample_rate_hz,
196 int()); 196 int());
197 MOCK_CONST_METHOD0(sample_rate_hz, 197 MOCK_CONST_METHOD0(sample_rate_hz,
198 int()); 198 int());
199 MOCK_CONST_METHOD0(proc_sample_rate_hz, 199 MOCK_CONST_METHOD0(proc_sample_rate_hz,
200 int()); 200 int());
201 MOCK_CONST_METHOD0(proc_split_sample_rate_hz, 201 MOCK_CONST_METHOD0(proc_split_sample_rate_hz,
202 int()); 202 int());
203 MOCK_CONST_METHOD0(num_input_channels, 203 MOCK_CONST_METHOD0(num_input_channels,
204 int()); 204 size_t());
205 MOCK_CONST_METHOD0(num_output_channels, 205 MOCK_CONST_METHOD0(num_output_channels,
206 int()); 206 size_t());
207 MOCK_CONST_METHOD0(num_reverse_channels, 207 MOCK_CONST_METHOD0(num_reverse_channels,
208 int()); 208 size_t());
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 size_t samples_per_channel, 217 size_t samples_per_channel,
218 int input_sample_rate_hz, 218 int input_sample_rate_hz,
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698