Commit 1629811b authored by enal@chromium.org's avatar enal@chromium.org

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
parent 9a6180d7
...@@ -583,7 +583,7 @@ void BrowserRenderProcessHost::PropagateBrowserCommandLineToRenderer( ...@@ -583,7 +583,7 @@ void BrowserRenderProcessHost::PropagateBrowserCommandLineToRenderer(
switches::kInProcessWebGL, switches::kInProcessWebGL,
switches::kJavaScriptFlags, switches::kJavaScriptFlags,
switches::kLoggingLevel, switches::kLoggingLevel,
switches::kHighLatencyAudio, switches::kLowLatencyAudio,
switches::kNoJsRandomness, switches::kNoJsRandomness,
switches::kNoReferrers, switches::kNoReferrers,
switches::kNoSandbox, switches::kNoSandbox,
......
...@@ -303,9 +303,9 @@ const char kLoggingLevel[] = "log-level"; ...@@ -303,9 +303,9 @@ const char kLoggingLevel[] = "log-level";
// Make plugin processes log their sent and received messages to VLOG(1). // Make plugin processes log their sent and received messages to VLOG(1).
const char kLogPluginMessages[] = "log-plugin-messages"; const char kLogPluginMessages[] = "log-plugin-messages";
// Uses high-latency IPC for audio. // Uses low-latency IPC for audio.
// That is temporary until we are sure low latency works and remove old code. // That is temporary until we make it default and remove old code path.
const char kHighLatencyAudio[] = "disable-low-latency-audio"; const char kLowLatencyAudio[] = "enable-low-latency-audio";
// Causes the process to run as a NativeClient broker // Causes the process to run as a NativeClient broker
// (used for launching NaCl loader processes on 64-bit Windows). // (used for launching NaCl loader processes on 64-bit Windows).
......
...@@ -99,7 +99,7 @@ extern const char kJavaScriptFlags[]; ...@@ -99,7 +99,7 @@ extern const char kJavaScriptFlags[];
extern const char kLoadPlugin[]; extern const char kLoadPlugin[];
extern const char kLoggingLevel[]; extern const char kLoggingLevel[];
extern const char kLogPluginMessages[]; extern const char kLogPluginMessages[];
extern const char kHighLatencyAudio[]; extern const char kLowLatencyAudio[];
// TODO(jam): this doesn't belong in content. // TODO(jam): this doesn't belong in content.
extern const char kNaClBrokerProcess[]; extern const char kNaClBrokerProcess[];
extern const char kNaClLoaderProcess[]; extern const char kNaClLoaderProcess[];
......
...@@ -40,8 +40,8 @@ AudioRendererImpl::AudioRendererImpl() ...@@ -40,8 +40,8 @@ AudioRendererImpl::AudioRendererImpl()
// We are initializing only one variable and double initialization is Ok, // We are initializing only one variable and double initialization is Ok,
// so there would not be any issues caused by CPU memory model. // so there would not be any issues caused by CPU memory model.
if (latency_type_ == kUninitializedLatency) { if (latency_type_ == kUninitializedLatency) {
if (!CommandLine::ForCurrentProcess()->HasSwitch( if (CommandLine::ForCurrentProcess()->HasSwitch(
switches::kHighLatencyAudio)) { switches::kLowLatencyAudio)) {
latency_type_ = kLowLatency; latency_type_ = kLowLatency;
} else { } else {
latency_type_ = kHighLatency; latency_type_ = kHighLatency;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment