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

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

Issue 2295113002: Removing the RX processing APIs from VoEAudioProcessing: (Closed)
Patch Set: rebase Created 4 years, 3 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/test/mock_voice_engine.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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 WEBRTC_FUNC(SetAecmMode, (webrtc::AecmModes mode, bool enableCNG)) { 481 WEBRTC_FUNC(SetAecmMode, (webrtc::AecmModes mode, bool enableCNG)) {
482 aecm_mode_ = mode; 482 aecm_mode_ = mode;
483 cng_enabled_ = enableCNG; 483 cng_enabled_ = enableCNG;
484 return 0; 484 return 0;
485 } 485 }
486 WEBRTC_FUNC(GetAecmMode, (webrtc::AecmModes& mode, bool& enabledCNG)) { 486 WEBRTC_FUNC(GetAecmMode, (webrtc::AecmModes& mode, bool& enabledCNG)) {
487 mode = aecm_mode_; 487 mode = aecm_mode_;
488 enabledCNG = cng_enabled_; 488 enabledCNG = cng_enabled_;
489 return 0; 489 return 0;
490 } 490 }
491 WEBRTC_STUB(SetRxNsStatus, (int channel, bool enable, webrtc::NsModes mode));
492 WEBRTC_STUB(GetRxNsStatus, (int channel, bool& enabled,
493 webrtc::NsModes& mode));
494 WEBRTC_STUB(SetRxAgcStatus, (int channel, bool enable,
495 webrtc::AgcModes mode));
496 WEBRTC_STUB(GetRxAgcStatus, (int channel, bool& enabled,
497 webrtc::AgcModes& mode));
498 WEBRTC_STUB(SetRxAgcConfig, (int channel, webrtc::AgcConfig config));
499 WEBRTC_STUB(GetRxAgcConfig, (int channel, webrtc::AgcConfig& config));
500
501 WEBRTC_STUB(RegisterRxVadObserver, (int, webrtc::VoERxVadCallback&));
502 WEBRTC_STUB(DeRegisterRxVadObserver, (int channel));
503 WEBRTC_STUB(VoiceActivityIndicator, (int channel)); 491 WEBRTC_STUB(VoiceActivityIndicator, (int channel));
504 WEBRTC_FUNC(SetEcMetricsStatus, (bool enable)) { 492 WEBRTC_FUNC(SetEcMetricsStatus, (bool enable)) {
505 ec_metrics_enabled_ = enable; 493 ec_metrics_enabled_ = enable;
506 return 0; 494 return 0;
507 } 495 }
508 WEBRTC_STUB(GetEcMetricsStatus, (bool& enabled)); 496 WEBRTC_STUB(GetEcMetricsStatus, (bool& enabled));
509 WEBRTC_STUB(GetEchoMetrics, (int& ERL, int& ERLE, int& RERL, int& A_NLP)); 497 WEBRTC_STUB(GetEchoMetrics, (int& ERL, int& ERLE, int& RERL, int& A_NLP));
510 WEBRTC_STUB(GetEcDelayMetrics, (int& delay_median, int& delay_std, 498 WEBRTC_STUB(GetEcDelayMetrics, (int& delay_median, int& delay_std,
511 float& fraction_poor_delays)); 499 float& fraction_poor_delays));
512 500
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 webrtc::AecmModes aecm_mode_ = webrtc::kAecmSpeakerphone; 559 webrtc::AecmModes aecm_mode_ = webrtc::kAecmSpeakerphone;
572 webrtc::NsModes ns_mode_ = webrtc::kNsDefault; 560 webrtc::NsModes ns_mode_ = webrtc::kNsDefault;
573 webrtc::AgcModes agc_mode_ = webrtc::kAgcDefault; 561 webrtc::AgcModes agc_mode_ = webrtc::kAgcDefault;
574 webrtc::AgcConfig agc_config_; 562 webrtc::AgcConfig agc_config_;
575 FakeAudioProcessing audio_processing_; 563 FakeAudioProcessing audio_processing_;
576 }; 564 };
577 565
578 } // namespace cricket 566 } // namespace cricket
579 567
580 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVOICEENGINE_H_ 568 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVOICEENGINE_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/test/mock_voice_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698