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

Unified Diff: content/renderer/media/audio_renderer_impl.cc

Issue 7827016: Enable low-latency audio by default. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 3 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 | « content/common/content_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/audio_renderer_impl.cc
===================================================================
--- content/renderer/media/audio_renderer_impl.cc (revision 103113)
+++ content/renderer/media/audio_renderer_impl.cc (working copy)
@@ -40,8 +40,8 @@
// 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::kLowLatencyAudio)) {
+ if (!CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kHighLatencyAudio)) {
latency_type_ = kLowLatency;
} else {
latency_type_ = kHighLatency;
« no previous file with comments | « content/common/content_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698