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

Unified Diff: webrtc/modules/audio_processing/test/audio_processing_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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_processing/test/audio_processing_simulator.cc
diff --git a/webrtc/modules/audio_processing/test/audio_processing_simulator.cc b/webrtc/modules/audio_processing/test/audio_processing_simulator.cc
index fbf1937097caf7ea302ea06fcafb7e473aa8f0c1..a341a579c9a845ee12bbbcebdf4bdc6f5d81bcc3 100644
--- a/webrtc/modules/audio_processing/test/audio_processing_simulator.cc
+++ b/webrtc/modules/audio_processing/test/audio_processing_simulator.cc
@@ -79,10 +79,10 @@ void CopyToAudioFrame(const ChannelBuffer<float>& src, AudioFrame* dest) {
AudioProcessingSimulator::AudioProcessingSimulator(
const SimulationSettings& settings)
: settings_(settings) {
- if (settings_.red_graph_output_filename &&
- settings_.red_graph_output_filename->size() > 0) {
+ if (settings_.ed_graph_output_filename &&
+ settings_.ed_graph_output_filename->size() > 0) {
residual_echo_likelihood_graph_writer_.open(
- *settings_.red_graph_output_filename);
+ *settings_.ed_graph_output_filename);
RTC_CHECK(residual_echo_likelihood_graph_writer_.is_open());
WriteEchoLikelihoodGraphFileHeader(&residual_echo_likelihood_graph_writer_);
}
@@ -281,8 +281,8 @@ void AudioProcessingSimulator::CreateAudioProcessor() {
!settings_.use_extended_filter || *settings_.use_extended_filter));
config.Set<DelayAgnostic>(new DelayAgnostic(!settings_.use_delay_agnostic ||
*settings_.use_delay_agnostic));
- if (settings_.use_red) {
- apm_config.residual_echo_detector.enabled = *settings_.use_red;
+ if (settings_.use_ed) {
+ apm_config.residual_echo_detector.enabled = *settings_.use_ed;
}
ap_.reset(AudioProcessing::Create(config));

Powered by Google App Engine
This is Rietveld 408576698