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

Side by Side Diff: webrtc/modules/audio_processing/test/aec_dump_based_simulator.cc

Issue 2505993002: Renamed -red to -ed and -red_graph to -ed_graph in audioproc_f. (Closed)
Patch Set: Created 4 years, 1 month 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/test/audio_processing_simulator.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) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 } 443 }
444 444
445 if (settings_.use_aec3) { 445 if (settings_.use_aec3) {
446 config.Set<EchoCanceller3>(new EchoCanceller3(*settings_.use_aec3)); 446 config.Set<EchoCanceller3>(new EchoCanceller3(*settings_.use_aec3));
447 } 447 }
448 448
449 if (settings_.use_lc) { 449 if (settings_.use_lc) {
450 apm_config.level_controller.enabled = *settings_.use_lc; 450 apm_config.level_controller.enabled = *settings_.use_lc;
451 } 451 }
452 452
453 if (settings_.use_red) { 453 if (settings_.use_ed) {
454 apm_config.residual_echo_detector.enabled = *settings_.use_red; 454 apm_config.residual_echo_detector.enabled = *settings_.use_ed;
455 } 455 }
456 456
457 ap_->ApplyConfig(apm_config); 457 ap_->ApplyConfig(apm_config);
458 ap_->SetExtraOptions(config); 458 ap_->SetExtraOptions(config);
459 } 459 }
460 } 460 }
461 461
462 void AecDumpBasedSimulator::HandleMessage(const webrtc::audioproc::Init& msg) { 462 void AecDumpBasedSimulator::HandleMessage(const webrtc::audioproc::Init& msg) {
463 RTC_CHECK(msg.has_sample_rate()); 463 RTC_CHECK(msg.has_sample_rate());
464 RTC_CHECK(msg.has_num_input_channels()); 464 RTC_CHECK(msg.has_num_input_channels());
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 } 527 }
528 528
529 void AecDumpBasedSimulator::HandleMessage( 529 void AecDumpBasedSimulator::HandleMessage(
530 const webrtc::audioproc::ReverseStream& msg) { 530 const webrtc::audioproc::ReverseStream& msg) {
531 PrepareReverseProcessStreamCall(msg); 531 PrepareReverseProcessStreamCall(msg);
532 ProcessReverseStream(interface_used_ == InterfaceType::kFixedInterface); 532 ProcessReverseStream(interface_used_ == InterfaceType::kFixedInterface);
533 } 533 }
534 534
535 } // namespace test 535 } // namespace test
536 } // namespace webrtc 536 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/test/audio_processing_simulator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698