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

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
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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 WEBRTC_FUNC(SetAecmMode, (webrtc::AecmModes mode, bool enableCNG)) { 486 WEBRTC_FUNC(SetAecmMode, (webrtc::AecmModes mode, bool enableCNG)) {
487 aecm_mode_ = mode; 487 aecm_mode_ = mode;
488 cng_enabled_ = enableCNG; 488 cng_enabled_ = enableCNG;
489 return 0; 489 return 0;
490 } 490 }
491 WEBRTC_FUNC(GetAecmMode, (webrtc::AecmModes& mode, bool& enabledCNG)) { 491 WEBRTC_FUNC(GetAecmMode, (webrtc::AecmModes& mode, bool& enabledCNG)) {
492 mode = aecm_mode_; 492 mode = aecm_mode_;
493 enabledCNG = cng_enabled_; 493 enabledCNG = cng_enabled_;
494 return 0; 494 return 0;
495 } 495 }
496 WEBRTC_STUB(SetRxNsStatus, (int channel, bool enable, webrtc::NsModes mode));
497 WEBRTC_STUB(GetRxNsStatus, (int channel, bool& enabled,
498 webrtc::NsModes& mode));
499 WEBRTC_STUB(SetRxAgcStatus, (int channel, bool enable,
500 webrtc::AgcModes mode));
501 WEBRTC_STUB(GetRxAgcStatus, (int channel, bool& enabled,
502 webrtc::AgcModes& mode));
503 WEBRTC_STUB(SetRxAgcConfig, (int channel, webrtc::AgcConfig config));
504 WEBRTC_STUB(GetRxAgcConfig, (int channel, webrtc::AgcConfig& config));
505
506 WEBRTC_STUB(RegisterRxVadObserver, (int, webrtc::VoERxVadCallback&));
507 WEBRTC_STUB(DeRegisterRxVadObserver, (int channel));
508 WEBRTC_STUB(VoiceActivityIndicator, (int channel)); 496 WEBRTC_STUB(VoiceActivityIndicator, (int channel));
509 WEBRTC_FUNC(SetEcMetricsStatus, (bool enable)) { 497 WEBRTC_FUNC(SetEcMetricsStatus, (bool enable)) {
510 ec_metrics_enabled_ = enable; 498 ec_metrics_enabled_ = enable;
511 return 0; 499 return 0;
512 } 500 }
513 WEBRTC_STUB(GetEcMetricsStatus, (bool& enabled)); 501 WEBRTC_STUB(GetEcMetricsStatus, (bool& enabled));
514 WEBRTC_STUB(GetEchoMetrics, (int& ERL, int& ERLE, int& RERL, int& A_NLP)); 502 WEBRTC_STUB(GetEchoMetrics, (int& ERL, int& ERLE, int& RERL, int& A_NLP));
515 WEBRTC_STUB(GetEcDelayMetrics, (int& delay_median, int& delay_std, 503 WEBRTC_STUB(GetEcDelayMetrics, (int& delay_median, int& delay_std,
516 float& fraction_poor_delays)); 504 float& fraction_poor_delays));
517 505
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 webrtc::AecmModes aecm_mode_ = webrtc::kAecmSpeakerphone; 564 webrtc::AecmModes aecm_mode_ = webrtc::kAecmSpeakerphone;
577 webrtc::NsModes ns_mode_ = webrtc::kNsDefault; 565 webrtc::NsModes ns_mode_ = webrtc::kNsDefault;
578 webrtc::AgcModes agc_mode_ = webrtc::kAgcDefault; 566 webrtc::AgcModes agc_mode_ = webrtc::kAgcDefault;
579 webrtc::AgcConfig agc_config_; 567 webrtc::AgcConfig agc_config_;
580 FakeAudioProcessing audio_processing_; 568 FakeAudioProcessing audio_processing_;
581 }; 569 };
582 570
583 } // namespace cricket 571 } // namespace cricket
584 572
585 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVOICEENGINE_H_ 573 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVOICEENGINE_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/test/mock_voice_engine.h » ('j') | webrtc/voice_engine/test/auto_test/standard/audio_processing_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698