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

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

Issue 2802603003: Make GetConfig() part of the AudioProcessing interface (Closed)
Patch Set: Make the method non-pure Created 3 years, 8 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
« no previous file with comments | « webrtc/modules/audio_processing/include/audio_processing.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 virtual MockLevelEstimator* level_estimator() const { 199 virtual MockLevelEstimator* level_estimator() const {
200 return level_estimator_.get(); 200 return level_estimator_.get();
201 } 201 }
202 virtual MockNoiseSuppression* noise_suppression() const { 202 virtual MockNoiseSuppression* noise_suppression() const {
203 return noise_suppression_.get(); 203 return noise_suppression_.get();
204 } 204 }
205 virtual MockVoiceDetection* voice_detection() const { 205 virtual MockVoiceDetection* voice_detection() const {
206 return voice_detection_.get(); 206 return voice_detection_.get();
207 } 207 }
208 208
209 MOCK_CONST_METHOD0(GetConfig, AudioProcessing::Config());
210
209 private: 211 private:
210 std::unique_ptr<MockEchoCancellation> echo_cancellation_; 212 std::unique_ptr<MockEchoCancellation> echo_cancellation_;
211 std::unique_ptr<MockEchoControlMobile> echo_control_mobile_; 213 std::unique_ptr<MockEchoControlMobile> echo_control_mobile_;
212 std::unique_ptr<MockGainControl> gain_control_; 214 std::unique_ptr<MockGainControl> gain_control_;
213 std::unique_ptr<MockHighPassFilter> high_pass_filter_; 215 std::unique_ptr<MockHighPassFilter> high_pass_filter_;
214 std::unique_ptr<MockLevelEstimator> level_estimator_; 216 std::unique_ptr<MockLevelEstimator> level_estimator_;
215 std::unique_ptr<MockNoiseSuppression> noise_suppression_; 217 std::unique_ptr<MockNoiseSuppression> noise_suppression_;
216 std::unique_ptr<MockVoiceDetection> voice_detection_; 218 std::unique_ptr<MockVoiceDetection> voice_detection_;
217 }; 219 };
218 220
219 } // namespace test 221 } // namespace test
220 } // namespace webrtc 222 } // namespace webrtc
221 223
222 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_MOCK_AUDIO_PROCESSING_H_ 224 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_MOCK_AUDIO_PROCESSING_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/include/audio_processing.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698