summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorenal@chromium.org <enal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-07 01:41:38 +0000
committerenal@chromium.org <enal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-07 01:41:38 +0000
commit1629811b5dfecd03a2f3c26a67ef44e5fa7c4e40 (patch)
treeaf4250d23d4e934710bed6628eca8bac28bd5954 /content
parent9a6180d7d7d1c08666d49c31c87a0d6bd5031a55 (diff)
downloadchromium_src-1629811b5dfecd03a2f3c26a67ef44e5fa7c4e40.zip
chromium_src-1629811b5dfecd03a2f3c26a67ef44e5fa7c4e40.tar.gz
chromium_src-1629811b5dfecd03a2f3c26a67ef44e5fa7c4e40.tar.bz2
Revert change because one of the previous changes it depends on was reverted.
http://codereview.chromium.org/7831050/. BUG=http://code.google.com/p/chromium/issues/detail?id=61022 TBR=scherkus@chromium.org,brettw@chromium.org Review URL: http://codereview.chromium.org/7739009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99891 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/browser/renderer_host/browser_render_process_host.cc2
-rw-r--r--content/common/content_switches.cc6
-rw-r--r--content/common/content_switches.h2
-rw-r--r--content/renderer/media/audio_renderer_impl.cc4
4 files changed, 7 insertions, 7 deletions
diff --git a/content/browser/renderer_host/browser_render_process_host.cc b/content/browser/renderer_host/browser_render_process_host.cc
index f5d5ba4..40a08e1 100644
--- a/content/browser/renderer_host/browser_render_process_host.cc
+++ b/content/browser/renderer_host/browser_render_process_host.cc
@@ -583,7 +583,7 @@ void BrowserRenderProcessHost::PropagateBrowserCommandLineToRenderer(
switches::kInProcessWebGL,
switches::kJavaScriptFlags,
switches::kLoggingLevel,
- switches::kHighLatencyAudio,
+ switches::kLowLatencyAudio,
switches::kNoJsRandomness,
switches::kNoReferrers,
switches::kNoSandbox,
diff --git a/content/common/content_switches.cc b/content/common/content_switches.cc
index 70527a8..5223533 100644
--- a/content/common/content_switches.cc
+++ b/content/common/content_switches.cc
@@ -303,9 +303,9 @@ const char kLoggingLevel[] = "log-level";
// Make plugin processes log their sent and received messages to VLOG(1).
const char kLogPluginMessages[] = "log-plugin-messages";
-// Uses high-latency IPC for audio.
-// That is temporary until we are sure low latency works and remove old code.
-const char kHighLatencyAudio[] = "disable-low-latency-audio";
+// Uses low-latency IPC for audio.
+// That is temporary until we make it default and remove old code path.
+const char kLowLatencyAudio[] = "enable-low-latency-audio";
// Causes the process to run as a NativeClient broker
// (used for launching NaCl loader processes on 64-bit Windows).
diff --git a/content/common/content_switches.h b/content/common/content_switches.h
index 653ba77..d798740 100644
--- a/content/common/content_switches.h
+++ b/content/common/content_switches.h
@@ -99,7 +99,7 @@ extern const char kJavaScriptFlags[];
extern const char kLoadPlugin[];
extern const char kLoggingLevel[];
extern const char kLogPluginMessages[];
-extern const char kHighLatencyAudio[];
+extern const char kLowLatencyAudio[];
// TODO(jam): this doesn't belong in content.
extern const char kNaClBrokerProcess[];
extern const char kNaClLoaderProcess[];
diff --git a/content/renderer/media/audio_renderer_impl.cc b/content/renderer/media/audio_renderer_impl.cc
index 36eb3ba..899bf44 100644
--- a/content/renderer/media/audio_renderer_impl.cc
+++ b/content/renderer/media/audio_renderer_impl.cc
@@ -40,8 +40,8 @@ AudioRendererImpl::AudioRendererImpl()
// We are initializing only one variable and double initialization is Ok,
// so there would not be any issues caused by CPU memory model.
if (latency_type_ == kUninitializedLatency) {
- if (!CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kHighLatencyAudio)) {
+ if (CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kLowLatencyAudio)) {
latency_type_ = kLowLatency;
} else {
latency_type_ = kHighLatency;