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

Side by Side Diff: webrtc/media/engine/fakewebrtcvoiceengine.h

Issue 2406193002: Made the AudioProcessing class a pure interface. (Closed)
Patch Set: Corrected mock of the AudioProcessing interface Created 4 years, 2 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 | « no previous file | webrtc/modules/audio_processing/audio_processing_impl.h » ('j') | 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) 2010 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2010 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 float* const* dest)); 109 float* const* dest));
110 WEBRTC_STUB(set_stream_delay_ms, (int delay)); 110 WEBRTC_STUB(set_stream_delay_ms, (int delay));
111 WEBRTC_STUB_CONST(stream_delay_ms, ()); 111 WEBRTC_STUB_CONST(stream_delay_ms, ());
112 WEBRTC_BOOL_STUB_CONST(was_stream_delay_set, ()); 112 WEBRTC_BOOL_STUB_CONST(was_stream_delay_set, ());
113 WEBRTC_VOID_STUB(set_stream_key_pressed, (bool key_pressed)); 113 WEBRTC_VOID_STUB(set_stream_key_pressed, (bool key_pressed));
114 WEBRTC_VOID_STUB(set_delay_offset_ms, (int offset)); 114 WEBRTC_VOID_STUB(set_delay_offset_ms, (int offset));
115 WEBRTC_STUB_CONST(delay_offset_ms, ()); 115 WEBRTC_STUB_CONST(delay_offset_ms, ());
116 WEBRTC_STUB(StartDebugRecording, 116 WEBRTC_STUB(StartDebugRecording,
117 (const char filename[kMaxFilenameSize], int64_t max_size_bytes)); 117 (const char filename[kMaxFilenameSize], int64_t max_size_bytes));
118 WEBRTC_STUB(StartDebugRecording, (FILE * handle, int64_t max_size_bytes)); 118 WEBRTC_STUB(StartDebugRecording, (FILE * handle, int64_t max_size_bytes));
119 WEBRTC_STUB(StartDebugRecording, (FILE * handle));
120 WEBRTC_STUB(StartDebugRecordingForPlatformFile, (rtc::PlatformFile handle));
119 WEBRTC_STUB(StopDebugRecording, ()); 121 WEBRTC_STUB(StopDebugRecording, ());
120 WEBRTC_VOID_STUB(UpdateHistogramsOnCallEnd, ()); 122 WEBRTC_VOID_STUB(UpdateHistogramsOnCallEnd, ());
121 webrtc::EchoCancellation* echo_cancellation() const override { return NULL; } 123 webrtc::EchoCancellation* echo_cancellation() const override { return NULL; }
122 webrtc::EchoControlMobile* echo_control_mobile() const override { 124 webrtc::EchoControlMobile* echo_control_mobile() const override {
123 return NULL; 125 return NULL;
124 } 126 }
125 webrtc::GainControl* gain_control() const override { return NULL; } 127 webrtc::GainControl* gain_control() const override { return NULL; }
126 webrtc::HighPassFilter* high_pass_filter() const override { return NULL; } 128 webrtc::HighPassFilter* high_pass_filter() const override { return NULL; }
127 webrtc::LevelEstimator* level_estimator() const override { return NULL; } 129 webrtc::LevelEstimator* level_estimator() const override { return NULL; }
128 webrtc::NoiseSuppression* noise_suppression() const override { return NULL; } 130 webrtc::NoiseSuppression* noise_suppression() const override { return NULL; }
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 webrtc::AecmModes aecm_mode_ = webrtc::kAecmSpeakerphone; 561 webrtc::AecmModes aecm_mode_ = webrtc::kAecmSpeakerphone;
560 webrtc::NsModes ns_mode_ = webrtc::kNsDefault; 562 webrtc::NsModes ns_mode_ = webrtc::kNsDefault;
561 webrtc::AgcModes agc_mode_ = webrtc::kAgcDefault; 563 webrtc::AgcModes agc_mode_ = webrtc::kAgcDefault;
562 webrtc::AgcConfig agc_config_; 564 webrtc::AgcConfig agc_config_;
563 FakeAudioProcessing audio_processing_; 565 FakeAudioProcessing audio_processing_;
564 }; 566 };
565 567
566 } // namespace cricket 568 } // namespace cricket
567 569
568 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVOICEENGINE_H_ 570 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVOICEENGINE_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/audio_processing_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698