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

Unified Diff: media/audio/audio_manager_base.cc

Issue 10440115: Turn on audio mixer by default. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 7 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 | media/base/media_switches.h » ('j') | media/base/media_switches.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_manager_base.cc
===================================================================
--- media/audio/audio_manager_base.cc (revision 139782)
+++ media/audio/audio_manager_base.cc (working copy)
@@ -5,7 +5,6 @@
#include "media/audio/audio_manager_base.h"
#include "base/bind.h"
-#include "base/command_line.h"
#include "base/message_loop_proxy.h"
#include "base/threading/thread.h"
#include "media/audio/audio_output_dispatcher_impl.h"
@@ -142,12 +141,7 @@
if (!dispatcher) {
base::TimeDelta close_delay =
base::TimeDelta::FromSeconds(kStreamCloseDelaySeconds);
- const CommandLine* cmd_line = CommandLine::ForCurrentProcess();
- if (cmd_line->HasSwitch(switches::kEnableAudioMixer)) {
- dispatcher = new AudioOutputMixer(this, params, close_delay);
- } else {
- dispatcher = new AudioOutputDispatcherImpl(this, params, close_delay);
- }
+ dispatcher = new AudioOutputMixer(this, params, close_delay);
}
return new AudioOutputProxy(dispatcher);
}
« no previous file with comments | « no previous file | media/base/media_switches.h » ('j') | media/base/media_switches.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698