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

Unified Diff: webrtc/modules/audio_processing/audio_processing_performance_unittest.cc

Issue 1853543003: Make naming of APM perf test consistent (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/audio_processing_performance_unittest.cc
diff --git a/webrtc/modules/audio_processing/audio_processing_performance_unittest.cc b/webrtc/modules/audio_processing/audio_processing_performance_unittest.cc
index a4a8351a17a15fbda4147116e3d8d4126dcb9041..1a934628b72ba633e570f78cd3400a23853762f4 100644
--- a/webrtc/modules/audio_processing/audio_processing_performance_unittest.cc
+++ b/webrtc/modules/audio_processing/audio_processing_performance_unittest.cc
@@ -47,8 +47,8 @@ enum class SettingsType {
kDefaultApmDesktopAndBeamformer,
kDefaultApmDesktopAndIntelligibilityEnhancer,
kAllSubmodulesTurnedOff,
- kDefaultDesktopApmWithoutDelayAgnostic,
- kDefaultDesktopApmWithoutExtendedFilter
+ kDefaultApmdeskTopWithoutDelayAgnostic,
hlundin-webrtc 2016/04/03 09:50:49 I think the capitalization is weird. ApmdeskTop ->
phoglund 2016/04/04 09:11:18 +1
aluebs-webrtc 2016/04/04 22:17:54 Thank you for catching this. The whole point of th
+ kDefaultApmdeskTopWithoutExtendedFilter
};
// Variables related to the audio data and formats.
@@ -85,8 +85,8 @@ struct SimulationConfig {
#ifndef WEBRTC_ANDROID
const SettingsType desktop_settings[] = {
SettingsType::kDefaultApmDesktop, SettingsType::kAllSubmodulesTurnedOff,
- SettingsType::kDefaultDesktopApmWithoutDelayAgnostic,
- SettingsType::kDefaultDesktopApmWithoutExtendedFilter};
+ SettingsType::kDefaultApmdeskTopWithoutDelayAgnostic,
+ SettingsType::kDefaultApmdeskTopWithoutExtendedFilter};
const int desktop_sample_rates[] = {8000, 16000, 32000, 48000};
@@ -151,11 +151,11 @@ struct SimulationConfig {
case SettingsType::kAllSubmodulesTurnedOff:
description = "AllSubmodulesOff";
break;
- case SettingsType::kDefaultDesktopApmWithoutDelayAgnostic:
- description = "DefaultDesktopApmWithoutDelayAgnostic";
+ case SettingsType::kDefaultApmdeskTopWithoutDelayAgnostic:
+ description = "DefaultApmdeskTopWithoutDelayAgnostic";
break;
- case SettingsType::kDefaultDesktopApmWithoutExtendedFilter:
- description = "DefaultDesktopApmWithoutExtendedFilter";
+ case SettingsType::kDefaultApmdeskTopWithoutExtendedFilter:
+ description = "DefaultApmdeskTopWithoutExtendedFilter";
break;
}
return description;
@@ -605,7 +605,7 @@ class CallSimulator : public ::testing::TestWithParam<SimulationConfig> {
turn_off_default_apm_runtime_settings(apm_.get());
break;
}
- case SettingsType::kDefaultDesktopApmWithoutDelayAgnostic: {
+ case SettingsType::kDefaultApmdeskTopWithoutDelayAgnostic: {
Config config;
config.Set<ExtendedFilter>(new ExtendedFilter(true));
config.Set<DelayAgnostic>(new DelayAgnostic(false));
@@ -615,7 +615,7 @@ class CallSimulator : public ::testing::TestWithParam<SimulationConfig> {
apm_->SetExtraOptions(config);
break;
}
- case SettingsType::kDefaultDesktopApmWithoutExtendedFilter: {
+ case SettingsType::kDefaultApmdeskTopWithoutExtendedFilter: {
Config config;
config.Set<ExtendedFilter>(new ExtendedFilter(false));
config.Set<DelayAgnostic>(new DelayAgnostic(true));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698